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 MylesBorins committed Feb 21, 2017
1 parent 8b4cc2f commit 7aad6d5
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 @@ -715,7 +715,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 7aad6d5

Please sign in to comment.