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 <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
evanlucas authored and MylesBorins committed Mar 9, 2017
1 parent ada7166 commit 214b514
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 @@ -700,7 +700,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 214b514

Please sign in to comment.