Fix OCB2 test dependecy checking

This commit is contained in:
Artem S Vybornov 2011-06-14 11:48:27 +04:00
parent 117fce4fa2
commit 6ee517c7cc

View File

@ -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;