Don't throw an error when no CSPRNG

This commit is contained in:
JC Brand 2014-08-05 17:29:11 +02:00
parent 7257432f54
commit 5b430eef1a
5 changed files with 7 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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.')
}
}())