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.x
Evan Lucas 8 years ago
committed by Myles Borins
parent
commit
214b514efe
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 2
      src/node_crypto.cc

2
src/node_crypto.cc

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

Loading…
Cancel
Save