diff options
author | Jay Berkenbilt <ejb@ql.org> | 2018-08-13 04:32:40 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2018-08-13 04:32:40 +0200 |
commit | 5d9d80beba1caa5828093dd1932fd806df1e644b (patch) | |
tree | ba99b5b93809b070a19b0800d52bd65715d37777 /libqpdf | |
parent | fb1e29476c6b40ce08fbb59925da7d120099c00c (diff) | |
download | qpdf-5d9d80beba1caa5828093dd1932fd806df1e644b.tar.zst |
Fix fallback logic for encryption (fixes #229)
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/QPDF_encryption.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libqpdf/QPDF_encryption.cc b/libqpdf/QPDF_encryption.cc index b05e070b..21cbb266 100644 --- a/libqpdf/QPDF_encryption.cc +++ b/libqpdf/QPDF_encryption.cc @@ -1124,6 +1124,7 @@ QPDF::decryptString(std::string& str, int objid, int generation) // To avoid repeated warnings, reset cf_string. Assume // we'd want to use AES if V == 4. this->m->cf_string = e_aes; + use_aes = true; break; } } |