Browse Source

src: use ABORT() macro instead of abort()

This makes sure that we dump a backtrace and use raise(SIGABRT) on
Windows.

PR-URL: https://github.com/nodejs/node/pull/9613
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
v6
Evan Lucas 8 years ago
parent
commit
21826ef21a
  1. 2
      src/node_crypto.cc

2
src/node_crypto.cc

@ -698,7 +698,7 @@ static X509_STORE* NewRootCertStore() {
if (x509 == nullptr) {
// Parse errors from the built-in roots are fatal.
abort();
ABORT();
return nullptr;
}

Loading…
Cancel
Save