diff --git a/libqpdf/QPDF_encryption.cc b/libqpdf/QPDF_encryption.cc index 54d7ad0..612a620 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; }