mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-23 07:08:30 +00:00
Change QPDFExc type to unsupported for /Standard filter
This commit is contained in:
parent
e813176bc0
commit
4d507251fe
@ -849,7 +849,7 @@ QPDF::initializeEncryption()
|
||||
if (! (encryption_dict.getKey("/Filter").isName() &&
|
||||
(encryption_dict.getKey("/Filter").getName() == "/Standard")))
|
||||
{
|
||||
throw QPDFExc(qpdf_e_damaged_pdf, this->m->file->getName(),
|
||||
throw QPDFExc(qpdf_e_unsupported, this->m->file->getName(),
|
||||
"encryption dictionary", this->m->file->getLastOffset(),
|
||||
"unsupported encryption filter");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user