diff --git a/test/ocb2_test.js b/test/ocb2_test.js index 91006703..bbca8c37 100644 --- a/test/ocb2_test.js +++ b/test/ocb2_test.js @@ -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;