Merge pull request #15 from slavik0329/master

Fixed call to defineProperty.
This commit is contained in:
Richard Moore 2017-04-06 13:48:16 -04:00 committed by GitHub
commit f7bdaadd7e

View File

@ -36,7 +36,7 @@ function randomBytes(length) {
};
if (crypto._weakCrypto === true) {
utils.defineProperty(randomBytes, '_weakCrypto', true);
defineProperty(randomBytes, '_weakCrypto', true);
}
module.exports = randomBytes;