[Pkg-javascript-commits] [pdf.js] 62/119: Crypt filter EFF key should have StmF value as default, not StrF

David Prévot taffit at moszumanska.debian.org
Wed May 13 21:27:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 3ebc85e55f85f1063309332886a25481f33cb155
Author: Thomas Leitner <t_leitner at gmx.at>
Date:   Mon Apr 13 21:27:32 2015 +0200

    Crypt filter EFF key should have StmF value as default, not StrF
    
    This fixes the problem.
---
 src/core/crypto.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/crypto.js b/src/core/crypto.js
index 1f13239..abb1d18 100644
--- a/src/core/crypto.js
+++ b/src/core/crypto.js
@@ -1967,7 +1967,7 @@ var CipherTransformFactory = (function CipherTransformFactoryClosure() {
       this.cf = dict.get('CF');
       this.stmf = dict.get('StmF') || identityName;
       this.strf = dict.get('StrF') || identityName;
-      this.eff = dict.get('EFF') || this.strf;
+      this.eff = dict.get('EFF') || this.stmf;
     }
   }
 
@@ -2040,4 +2040,4 @@ var CipherTransformFactory = (function CipherTransformFactoryClosure() {
   };
 
   return CipherTransformFactory;
-})();
\ No newline at end of file
+})();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list