diff options
author | Jay Berkenbilt <ejb@ql.org> | 2009-10-17 20:54:51 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2009-10-17 20:54:51 +0200 |
commit | c13bc66de8d6ef553c4ed05247774476a859a5f3 (patch) | |
tree | de0daed86869f322c921f281fa7c6a5337738a81 /libqpdf/QPDFWriter.cc | |
parent | 27e8d4bbfffef1072043ef21725ab85eabaee63b (diff) | |
download | qpdf-c13bc66de8d6ef553c4ed05247774476a859a5f3.tar.zst |
checkpoint -- partially implemented /V=4 encryption
git-svn-id: svn+q:///qpdf/trunk@811 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf/QPDFWriter.cc')
-rw-r--r-- | libqpdf/QPDFWriter.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libqpdf/QPDFWriter.cc b/libqpdf/QPDFWriter.cc index 2a990fa3..71d1fa5c 100644 --- a/libqpdf/QPDFWriter.cc +++ b/libqpdf/QPDFWriter.cc @@ -281,7 +281,8 @@ QPDFWriter::setEncryptionParameters( std::string O; std::string U; QPDF::compute_encryption_O_U( - user_password, owner_password, V, R, key_len, P, this->id1, O, U); + user_password, owner_password, V, R, key_len, P, + /*XXX encrypt_metadata*/true, this->id1, O, U); setEncryptionParametersInternal( V, R, key_len, P, O, U, this->id1, user_password); } |