mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-23 03:18:59 +00:00
Fix fallback logic for encryption (fixes #229)
This commit is contained in:
parent
fb1e29476c
commit
5d9d80beba
@ -1124,6 +1124,7 @@ QPDF::decryptString(std::string& str, int objid, int generation)
|
|||||||
// To avoid repeated warnings, reset cf_string. Assume
|
// To avoid repeated warnings, reset cf_string. Assume
|
||||||
// we'd want to use AES if V == 4.
|
// we'd want to use AES if V == 4.
|
||||||
this->m->cf_string = e_aes;
|
this->m->cf_string = e_aes;
|
||||||
|
use_aes = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user