Commit 5d9d80beba1caa5828093dd1932fd806df1e644b
1 parent
fb1e2947
Fix fallback logic for encryption (fixes #229)
Showing
1 changed file
with
1 additions
and
0 deletions
libqpdf/QPDF_encryption.cc
| ... | ... | @@ -1124,6 +1124,7 @@ QPDF::decryptString(std::string& str, int objid, int generation) |
| 1124 | 1124 | // To avoid repeated warnings, reset cf_string. Assume |
| 1125 | 1125 | // we'd want to use AES if V == 4. |
| 1126 | 1126 | this->m->cf_string = e_aes; |
| 1127 | + use_aes = true; | |
| 1127 | 1128 | break; |
| 1128 | 1129 | } |
| 1129 | 1130 | } | ... | ... |