Skip to content

Commit

Permalink
remove superfluous null-check
Browse files Browse the repository at this point in the history
  • Loading branch information
kokke committed Sep 15, 2021
2 parents 1095f0d + 7c71bef commit 92d67ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/crypto_context.cc
Expand Up @@ -1114,7 +1114,7 @@ int SecureContext::TicketKeyCallback(SSL* ssl,
return -1;
}

argv[2] = env != 0 ? v8::True(env->isolate()) : v8::False(env->isolate());
argv[2] = v8::True(env->isolate());

Local<Value> ret;
if (!node::MakeCallback(
Expand Down

0 comments on commit 92d67ee

Please sign in to comment.