Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
squash!: use function pointer instead of std::function
  • Loading branch information
danbev committed Jul 10, 2020
commit a1b206d907ba5178c80a99078e7b5bca640400d9
2 changes: 1 addition & 1 deletion src/node_crypto_common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ Local<Value> ToV8Value(Environment* env, const BIOPointer& bio) {

MaybeLocal<Value> GetCipherValue(Environment* env,
const SSL_CIPHER* cipher,
std::function<const char*(const SSL_CIPHER* cipher)> getstr) {
const char* (*getstr)(const SSL_CIPHER* cipher)) {
if (cipher == nullptr)
return Undefined(env->isolate());

Expand Down