Merge pull request #27 from vibornoff/ocb2-test-fix

Fix OCB2 test dependecy checking
This commit is contained in:
bitwiseshiftleft 2011-06-14 16:39:04 -07:00
commit 71ef53f140

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;