crypto: simplify Hmac::HmacUpdate · nodejs/node@3839ff0 · GitHub
Skip to content

Commit 3839ff0

Browse files
tniessentargos
authored andcommitted
crypto: simplify Hmac::HmacUpdate
This makes HmacUpdate slightly simpler and introduces a CHECK instead of ignoring invalid input types. PR-URL: #22132 Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent f68b165 commit 3839ff0

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

src/node_crypto.cc

Lines changed: 5 additions & 6 deletions

0 commit comments

Comments
 (0)