Przeglądaj źródła

Don't throw an error when no CSPRNG

JC Brand 11 lat temu
rodzic
commit
5b430eef1a

Plik diff jest za duży
+ 0 - 0
builds/converse-no-locales-no-otr.min.js


Plik diff jest za duży
+ 0 - 0
builds/converse-no-otr.min.js


Plik diff jest za duży
+ 0 - 0
builds/converse.min.js


Plik diff jest za duży
+ 0 - 0
builds/converse.website.min.js


+ 3 - 1
src/bigint.js

@@ -1640,7 +1640,9 @@
 
     // err
     else {
-      throw new Error('Keys should not be generated without CSPRNG.')
+      console.log('Keys should not be generated without CSPRNG.');
+      return;
+      // throw new Error('Keys should not be generated without CSPRNG.')
     }
 
   }())

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików