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:
parent
67c99f60fe
commit
36c3a21036
2
build.js
2
build.js
@ -27,7 +27,7 @@
|
|||||||
"strophe.vcard": "components/strophe.vcard/index",
|
"strophe.vcard": "components/strophe.vcard/index",
|
||||||
"strophe.disco": "components/strophe.disco/index",
|
"strophe.disco": "components/strophe.disco/index",
|
||||||
"salsa20": "components/otr/build/dep/salsa20",
|
"salsa20": "components/otr/build/dep/salsa20",
|
||||||
"bigint": "components/otr/build/dep/bigint",
|
"bigint": "src/bigint",
|
||||||
"crypto.core": "components/otr/vendor/cryptojs/core",
|
"crypto.core": "components/otr/vendor/cryptojs/core",
|
||||||
"crypto.enc-base64": "components/otr/vendor/cryptojs/enc-base64",
|
"crypto.enc-base64": "components/otr/vendor/cryptojs/enc-base64",
|
||||||
"crypto.md5": "components/crypto-js/src/md5",
|
"crypto.md5": "components/crypto-js/src/md5",
|
||||||
|
2
converse.min.js
vendored
2
converse.min.js
vendored
File diff suppressed because one or more lines are too long
2
main.js
2
main.js
@ -12,7 +12,7 @@ require.config({
|
|||||||
"strophe.vcard": "components/strophe.vcard/index",
|
"strophe.vcard": "components/strophe.vcard/index",
|
||||||
"strophe.disco": "components/strophe.disco/index",
|
"strophe.disco": "components/strophe.disco/index",
|
||||||
"salsa20": "components/otr/build/dep/salsa20",
|
"salsa20": "components/otr/build/dep/salsa20",
|
||||||
"bigint": "components/otr/build/dep/bigint",
|
"bigint": "src/bigint",
|
||||||
"crypto.core": "components/otr/vendor/cryptojs/core",
|
"crypto.core": "components/otr/vendor/cryptojs/core",
|
||||||
"crypto.enc-base64": "components/otr/vendor/cryptojs/enc-base64",
|
"crypto.enc-base64": "components/otr/vendor/cryptojs/enc-base64",
|
||||||
"crypto.md5": "components/crypto-js/src/md5",
|
"crypto.md5": "components/crypto-js/src/md5",
|
||||||
|
1685
src/bigint.js
Normal file
1685
src/bigint.js
Normal file
File diff suppressed because it is too large
Load Diff
@ -12,7 +12,7 @@ require.config({
|
|||||||
"strophe.vcard": "components/strophe.vcard/index",
|
"strophe.vcard": "components/strophe.vcard/index",
|
||||||
"strophe.disco": "components/strophe.disco/index",
|
"strophe.disco": "components/strophe.disco/index",
|
||||||
"salsa20": "components/otr/build/dep/salsa20",
|
"salsa20": "components/otr/build/dep/salsa20",
|
||||||
"bigint": "components/otr/build/dep/bigint",
|
"bigint": "src/bigint",
|
||||||
"crypto.core": "components/otr/vendor/cryptojs/core",
|
"crypto.core": "components/otr/vendor/cryptojs/core",
|
||||||
"crypto.enc-base64": "components/otr/vendor/cryptojs/enc-base64",
|
"crypto.enc-base64": "components/otr/vendor/cryptojs/enc-base64",
|
||||||
"crypto.md5": "components/crypto-js/src/md5",
|
"crypto.md5": "components/crypto-js/src/md5",
|
||||||
|
Loading…
Reference in New Issue
Block a user