aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_encryption.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF_encryption.cc')
-rw-r--r--libqpdf/QPDF_encryption.cc1
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;
}
}