From 1619cad1e8ac6ba9cc87666caae9e71f20fd6b32 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 5 Aug 2018 16:58:21 -0400 Subject: Return correct method for string encryption (fixes #227) --- libqpdf/QPDF_encryption.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libqpdf') 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; } -- cgit v1.2.3-54-g00ecf