Add stub code for AES-256 to force Coverity to re-analyze...

This commit is contained in:
Michael R Sweet 2021-12-15 07:35:55 -05:00
parent c0b7925cdf
commit 44d20eba1b
No known key found for this signature in database
GPG Key ID: 999559A027815955

View File

@ -663,7 +663,12 @@ _pdfioCryptoUnlock(
length = 128;
}
}
// TODO: Implement AES-256 - V6 R6
else if (version == 6 && revision == 6)
{
// TODO: Implement AES-256 - V6 R6
pdf->encryption = PDFIO_ENCRYPTION_AES_256;
length = 256;
}
PDFIO_DEBUG("_pdfioCryptoUnlock: encryption=%d, length=%d\n", pdf->encryption, length);
@ -788,6 +793,8 @@ _pdfioCryptoUnlock(
else
{
// TODO: Implement AES-256 security handler
_pdfioFileError(pdf, "Unable to unlock AES-256 encrypted file at this time.");
return (false);
}
// If we get here we need to try another password...