src: avoid strcmp in ImportJWKAsymmetricKey · nodejs/node@acaf5dd · GitHub
Skip to content

Commit acaf5dd

Browse files
tniessenmarco-ippolito
authored andcommitted
src: avoid strcmp in ImportJWKAsymmetricKey
Use std::string_view and its operator== instead of calling strcmp on a const char*. PR-URL: #53813 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 25e59ae commit acaf5dd

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/crypto/crypto_keys.cc

Lines changed: 5 additions & 4 deletions

0 commit comments

Comments
 (0)