Patch bigint.js so that it doesn't throw an error when a CSPRNG is not present

Instead, we'll check for it in converse.js and just disable OTR if it's not
there.
This commit is contained in:
JC Brand 2013-11-15 23:33:54 +02:00
parent 67c99f60fe
commit 36c3a21036
5 changed files with 1689 additions and 4 deletions

View File

@ -27,7 +27,7 @@
"strophe.vcard": "components/strophe.vcard/index",
"strophe.disco": "components/strophe.disco/index",
"salsa20": "components/otr/build/dep/salsa20",
"bigint": "components/otr/build/dep/bigint",
"bigint": "src/bigint",
"crypto.core": "components/otr/vendor/cryptojs/core",
"crypto.enc-base64": "components/otr/vendor/cryptojs/enc-base64",
"crypto.md5": "components/crypto-js/src/md5",

2
converse.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@ require.config({
"strophe.vcard": "components/strophe.vcard/index",
"strophe.disco": "components/strophe.disco/index",
"salsa20": "components/otr/build/dep/salsa20",
"bigint": "components/otr/build/dep/bigint",
"bigint": "src/bigint",
"crypto.core": "components/otr/vendor/cryptojs/core",
"crypto.enc-base64": "components/otr/vendor/cryptojs/enc-base64",
"crypto.md5": "components/crypto-js/src/md5",

1685
src/bigint.js Normal file

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,7 @@ require.config({
"strophe.vcard": "components/strophe.vcard/index",
"strophe.disco": "components/strophe.disco/index",
"salsa20": "components/otr/build/dep/salsa20",
"bigint": "components/otr/build/dep/bigint",
"bigint": "src/bigint",
"crypto.core": "components/otr/vendor/cryptojs/core",
"crypto.enc-base64": "components/otr/vendor/cryptojs/enc-base64",
"crypto.md5": "components/crypto-js/src/md5",