Add more debug logging.

This commit is contained in:
Michael R Sweet 2023-12-14 17:05:10 -05:00
parent 7330cc35ba
commit 2dfb560f8b
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244

View File

@ -469,9 +469,14 @@ _pdfioObjLoad(pdfio_obj_t *obj) // I - Object
// Decrypt as needed...
if (obj->pdf->encryption)
{
PDFIO_DEBUG("_pdfioObjLoad: Decrypting value...\n");
if (!_pdfioValueDecrypt(obj->pdf, obj, &obj->value, 0))
{
PDFIO_DEBUG("_pdfioObjLoad: Failed to decrypt.\n");
return (false);
}
}
PDFIO_DEBUG("_pdfioObjLoad: ");
PDFIO_DEBUG_VALUE(&obj->value);