poppler/XRef.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit a288bdb417582f07a5a0cb13d5218946a1d0ccc8 Author: Albert Astals Cid <[email protected]> Date: Tue Aug 30 21:55:43 2011 +0200 xpdf303: Increase max keyLength to 32 diff --git a/poppler/XRef.cc b/poppler/XRef.cc index 970a00b..8552b0f 100644 --- a/poppler/XRef.cc +++ b/poppler/XRef.cc @@ -908,10 +908,10 @@ void XRef::setEncryption(int permFlagsA, GBool ownerPasswordOkA, encrypted = gTrue; permFlags = permFlagsA; ownerPasswordOk = ownerPasswordOkA; - if (keyLengthA <= 16) { + if (keyLengthA <= 32) { keyLength = keyLengthA; } else { - keyLength = 16; + keyLength = 32; } for (i = 0; i < keyLength; ++i) { fileKey[i] = fileKeyA[i]; _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
