mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2024-11-08 06:28:27 +01:00
Add stub code for AES-256 to force Coverity to re-analyze...
This commit is contained in:
parent
c0b7925cdf
commit
44d20eba1b
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user