mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-24 06:49:29 -05:00
Merge pull request #27 from vibornoff/ocb2-test-fix
Fix OCB2 test dependecy checking
This commit is contained in:
commit
71ef53f140
@ -1,5 +1,5 @@
|
|||||||
new sjcl.test.TestCase("OCB 2.0 mode tests", function (cb) {
|
new sjcl.test.TestCase("OCB 2.0 mode tests", function (cb) {
|
||||||
if (!sjcl.cipher.aes) {
|
if (!sjcl.cipher.aes || !sjcl.mode.ocb2) {
|
||||||
this.unimplemented();
|
this.unimplemented();
|
||||||
cb && cb();
|
cb && cb();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user