Merge pull request #15 from slavik0329/master
Fixed call to defineProperty.
This commit is contained in:
commit
f7bdaadd7e
@ -36,7 +36,7 @@ function randomBytes(length) {
|
||||
};
|
||||
|
||||
if (crypto._weakCrypto === true) {
|
||||
utils.defineProperty(randomBytes, '_weakCrypto', true);
|
||||
defineProperty(randomBytes, '_weakCrypto', true);
|
||||
}
|
||||
|
||||
module.exports = randomBytes;
|
||||
|
Loading…
Reference in New Issue
Block a user