Fix OCB2 test dependecy checking
This commit is contained in:
parent
117fce4fa2
commit
6ee517c7cc
@ -1,5 +1,5 @@
|
||||
new sjcl.test.TestCase("OCB 2.0 mode tests", function (cb) {
|
||||
if (!sjcl.cipher.aes) {
|
||||
if (!sjcl.cipher.aes || !sjcl.mode.ocb2) {
|
||||
this.unimplemented();
|
||||
cb && cb();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user