From 6ee517c7cc7f49fc3324f5bc6c761c6511f0383a Mon Sep 17 00:00:00 2001 From: Artem S Vybornov Date: Tue, 14 Jun 2011 11:48:27 +0400 Subject: [PATCH] Fix OCB2 test dependecy checking --- test/ocb2_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;