Fixed hidden error triggered setting "use strict"
This commit is contained in:
parent
00398aa65e
commit
a53767d5c0
@ -21,6 +21,8 @@ refer to http://www.clipperz.com.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
try { if (typeof(Clipperz.ByteArray) == 'undefined') { throw ""; }} catch (e) {
|
try { if (typeof(Clipperz.ByteArray) == 'undefined') { throw ""; }} catch (e) {
|
||||||
throw "Clipperz.Crypto.AES depends on Clipperz.ByteArray!";
|
throw "Clipperz.Crypto.AES depends on Clipperz.ByteArray!";
|
||||||
}
|
}
|
||||||
|
@ -21,6 +21,8 @@ refer to http://www.clipperz.com.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
try { if (typeof(Clipperz.ByteArray) == 'undefined') { throw ""; }} catch (e) {
|
try { if (typeof(Clipperz.ByteArray) == 'undefined') { throw ""; }} catch (e) {
|
||||||
throw "Clipperz.Crypto.AES_2 depends on Clipperz.ByteArray!";
|
throw "Clipperz.Crypto.AES_2 depends on Clipperz.ByteArray!";
|
||||||
}
|
}
|
||||||
@ -808,6 +810,7 @@ MochiKit.Base.update(Clipperz.Crypto.AES_2, {
|
|||||||
var nonce;
|
var nonce;
|
||||||
var message;
|
var message;
|
||||||
var key;
|
var key;
|
||||||
|
var executionContext;
|
||||||
|
|
||||||
key = new Clipperz.Crypto.AES_2.Key({key:aKey});
|
key = new Clipperz.Crypto.AES_2.Key({key:aKey});
|
||||||
nonce = someData.split(0, (128/8));
|
nonce = someData.split(0, (128/8));
|
||||||
|
Loading…
Reference in New Issue
Block a user