Skip to content

Commit

Permalink
src: implement changes suggested by @addaleax
Browse files Browse the repository at this point in the history
Refs: #40128

PR-URL: #40128
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
kokke authored and nodejs-github-bot committed Sep 30, 2021
1 parent b66c2e1 commit 4f3eda6
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] = v8::True(env->isolate());
argv[2] = enc != 0 ? v8::True(env->isolate()) : v8::False(env->isolate());

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

0 comments on commit 4f3eda6

Please sign in to comment.