summaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFWriter.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-09-27 05:11:29 +0200
committerJay Berkenbilt <ejb@ql.org>2009-09-27 05:11:29 +0200
commit02333ba1e9670ff1f7fe7170d3e0cc229755dc7b (patch)
tree866d753a479c27c2d078d6eb62bb8c0af613aaab /libqpdf/QPDFWriter.cc
parent1285fa19d64ab5461c29dd9ec8a01b1a52757098 (diff)
downloadqpdf-02333ba1e9670ff1f7fe7170d3e0cc229755dc7b.tar.zst
checkpoint -- first crack at C API, minor refactoring of encryption functions
git-svn-id: svn+q:///qpdf/trunk@720 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf/QPDFWriter.cc')
-rw-r--r--libqpdf/QPDFWriter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFWriter.cc b/libqpdf/QPDFWriter.cc
index 88dc9e8f..4191e906 100644
--- a/libqpdf/QPDFWriter.cc
+++ b/libqpdf/QPDFWriter.cc
@@ -277,7 +277,7 @@ QPDFWriter::copyEncryptionParameters()
encrypt.getKey("/O").getStringValue(),
encrypt.getKey("/U").getStringValue(),
this->id1, // this->id1 == the other file's id1
- pdf.getUserPassword());
+ pdf.getPaddedUserPassword());
}
}