aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_encryption.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-08-05 22:58:21 +0200
committerJay Berkenbilt <ejb@ql.org>2018-08-05 22:58:21 +0200
commit1619cad1e8ac6ba9cc87666caae9e71f20fd6b32 (patch)
treeab219ca7633359f18a9f7e9bcff552d6c979b4fd /libqpdf/QPDF_encryption.cc
parente1cd5891af199dc6d926a1792c9add182b39fc56 (diff)
downloadqpdf-1619cad1e8ac6ba9cc87666caae9e71f20fd6b32.tar.zst
Return correct method for string encryption (fixes #227)
Diffstat (limited to 'libqpdf/QPDF_encryption.cc')
-rw-r--r--libqpdf/QPDF_encryption.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF_encryption.cc b/libqpdf/QPDF_encryption.cc
index 54d7ad03..612a6204 100644
--- a/libqpdf/QPDF_encryption.cc
+++ b/libqpdf/QPDF_encryption.cc
@@ -1396,7 +1396,7 @@ QPDF::isEncrypted(int& R, int& P, int& V,
R = Rkey.getIntValue();
V = Vkey.getIntValue();
stream_method = this->m->cf_stream;
- string_method = this->m->cf_stream;
+ string_method = this->m->cf_string;
file_method = this->m->cf_file;
return true;
}