Skip to content

Commit

Permalink
src: use ABORT() macro instead of abort()
Browse files Browse the repository at this point in the history
This makes sure that we dump a backtrace and use raise(SIGABRT) on
Windows.

PR-URL: #9613
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
evanlucas authored and Fishrock123 committed Nov 22, 2016
1 parent a83a286 commit 30475be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ static X509_STORE* NewRootCertStore() {

if (x509 == nullptr) {
// Parse errors from the built-in roots are fatal.
abort();
ABORT();
return nullptr;
}

Expand Down

0 comments on commit 30475be

Please sign in to comment.