2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 10:58:58 +00:00

Return correct method for string encryption (fixes #227)

This commit is contained in:
Jay Berkenbilt 2018-08-05 16:58:21 -04:00
parent e1cd5891af
commit 1619cad1e8

View File

@ -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;
}