From c13bc66de8d6ef553c4ed05247774476a859a5f3 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 17 Oct 2009 18:54:51 +0000 Subject: checkpoint -- partially implemented /V=4 encryption git-svn-id: svn+q:///qpdf/trunk@811 71b93d88-0707-0410-a8cf-f5a4172ac649 --- libqpdf/QPDFWriter.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libqpdf/QPDFWriter.cc') 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); } -- cgit v1.2.3-54-g00ecf