crypto: fix EVPKeyCtxPointer::publicCheck() · nodejs/node@c38988c · GitHub
Skip to content

Commit c38988c

Browse files
tniessentargos
authored andcommitted
crypto: fix EVPKeyCtxPointer::publicCheck()
Commit 206ebeb added an additional call to EVP_PKEY_public_check and an unconditional return from publicCheck(). This prevents the control flow from reaching the original call to either EVP_PKEY_public_check or EVP_PKEY_public_check_quick. This change restores the previous behavior, which calls EVP_PKEY_public_check_quick instead, if possible. Refs: #56812 PR-URL: #59471 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 61c3bcd commit c38988c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

deps/ncrypto/ncrypto.cc

Lines changed: 0 additions & 1 deletion

0 commit comments

Comments
 (0)