We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faa5cac commit 9730d1eCopy full SHA for 9730d1e
src/crypto/crypto_keys.cc
@@ -1033,7 +1033,7 @@ void KeyObjectHandle::InitJWK(const FunctionCallbackInfo<Value>& args) {
1033
1034
Utf8Value kty_string(env->isolate(), kty);
1035
1036
- if (strcmp(*kty_string, "oct") == 0) {
+ if (kty_string == "oct") {
1037
// Secret key
1038
key->data_ = ImportJWKSecretKey(env, input);
1039
if (!key->data_) {
0 commit comments