summaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_encryption.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-10-18 04:26:09 +0200
committerJay Berkenbilt <ejb@ql.org>2009-10-18 04:26:09 +0200
commit67e353e4e4a9207e26171502f44fb2efbf7848c1 (patch)
treeb0f185afbb90be11882934381165a018361ab6ea /libqpdf/QPDF_encryption.cc
parentb873dc9c59f4445239f68d7138aebb53cc0df648 (diff)
downloadqpdf-67e353e4e4a9207e26171502f44fb2efbf7848c1.tar.zst
use StdCF to make adobe reader happy; handle EncryptMetadata properly when reading
git-svn-id: svn+q:///qpdf/trunk@817 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf/QPDF_encryption.cc')
-rw-r--r--libqpdf/QPDF_encryption.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF_encryption.cc b/libqpdf/QPDF_encryption.cc
index d405759e..287a361a 100644
--- a/libqpdf/QPDF_encryption.cc
+++ b/libqpdf/QPDF_encryption.cc
@@ -612,7 +612,7 @@ QPDF::decryptStream(Pipeline*& pipeline, int objid, int generation,
// XXX What about embedded file streams?
}
use_aes = false;
- switch (this->cf_stream)
+ switch (method)
{
case e_none:
return;