1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-10-25 01:37:34 +02:00

Fixed error in AES due to "use strict" directive

This commit is contained in:
Giulio Cesare Solaroli
2015-08-18 17:30:06 +02:00
parent a2f3ee038e
commit a0bd079b51
2 changed files with 5 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ refer to http://www.clipperz.com.
try { if (typeof(Clipperz.ByteArray) == 'undefined') { throw ""; }} catch (e) {
throw "Clipperz.Crypto.AES depends on Clipperz.ByteArray!";
}
}
// Dependency commented to avoid a circular reference
//try { if (typeof(Clipperz.Crypto.PRNG) == 'undefined') { throw ""; }} catch (e) {
@@ -824,7 +824,8 @@ MochiKit.Base.update(Clipperz.Crypto.AES, {
//-----------------------------------------------------------------------------
'deferredDecrypt': function(aKey, someData) {
var deferredResult
var deferredResult;
var executionContext;
var nonce;
var message;
var key;