Add support for EncryptMetadata key in encryption dictionary.

This commit is contained in:
Michael R Sweet
2025-04-23 10:12:33 -04:00
parent a22957baa1
commit f9c07a0346
5 changed files with 32 additions and 6 deletions

View File

@@ -505,7 +505,7 @@ _pdfioObjLoad(pdfio_obj_t *obj) // I - Object
}
// Decrypt as needed...
if (obj->pdf->encryption)
if (obj->pdf->encryption && obj->pdf->encrypt_metadata)
{
PDFIO_DEBUG("_pdfioObjLoad: Decrypting value...\n");