crypto: add null checks for OPENSSL_INIT_new() · nodejs/node@87daea4 · GitHub
Skip to content

Commit 87daea4

Browse files
ndosscheaduh95
authored andcommitted
crypto: add null checks for OPENSSL_INIT_new()
Other calls in initialization code often already check for null pointers via CHECK_NOT_NULL(). Do the same here. Signed-off-by: ndossche <7771979+ndossche@users.noreply.github.com> PR-URL: #63457 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent 86b2497 commit 87daea4

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/crypto/crypto_util.cc‎

Lines changed: 1 addition & 0 deletions

‎src/node.cc‎

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)