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
Next Next commit
src: prefer false instead of bool zero
This commit updates node_crypto.cc VerifySpkac function to use false
instead of 0 for its return bool value i.
  • Loading branch information
danbev committed Apr 23, 2018
commit c77c43d47a8ac54d16aef8e72d981bdc7baeeb74
2 changes: 1 addition & 1 deletion src/node_crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5170,7 +5170,7 @@ void GetCurves(const FunctionCallbackInfo<Value>& args) {


bool VerifySpkac(const char* data, unsigned int len) {
bool i = 0;
bool i = false;
EVP_PKEY* pkey = nullptr;
NETSCAPE_SPKI* spki = nullptr;

Expand Down