Skip to content

doc: note that randomBytes throws when passed null - #17594

Closed
tniessen wants to merge 1 commit into
nodejs:masterfrom
tniessen:doc-random-bytes-callback-null-throws
Closed

doc: note that randomBytes throws when passed null#17594
tniessen wants to merge 1 commit into
nodejs:masterfrom
tniessen:doc-random-bytes-callback-null-throws

Conversation

@tniessen

Copy link
Copy Markdown
Member

As discussed in the issue below, it might be helpful to document this change, which was introduced in #16454.

Fixes: #16778

Checklist
Affected core subsystem(s)

doc

@nodejs-github-botnodejs-github-bot added crypto Issues and PRs related to the crypto subsystem. doc Issues and PRs related to the documentations. labels Dec 10, 2017
@maclover7

Copy link
Copy Markdown
Contributor

@apapirovskiapapirovski added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Dec 12, 2017
@BridgeAR

BridgeAR commented Dec 12, 2017

Copy link
Copy Markdown
Member

Landed in 2c77cab

BridgeAR pushed a commit to BridgeAR/node that referenced this pull request Dec 12, 2017
Fixes: nodejs#16778
PR-URL: nodejs#17594Fixes: nodejs#16778
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
@addaleaxaddaleax removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Dec 13, 2017
MylesBorins pushed a commit that referenced this pull request Jan 8, 2018
Fixes: #16778
PR-URL: #17594Fixes: #16778
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
@MylesBorinsMylesBorins mentioned this pull request Jan 10, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cryptoIssues and PRs related to the crypto subsystem.docIssues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible regression with crypto.randomBytes(size, null)

11 participants

@tniessen@maclover7@BridgeAR@apapirovski@danbev@Trott@lpinca@cjihrig@MylesBorins@addaleax@nodejs-github-bot