diff options
author | Evan Lucas <evanlucas@me.com> | 2016-11-15 05:29:38 -0600 |
---|---|---|
committer | Evan Lucas <evanlucas@me.com> | 2016-11-17 07:46:45 -0600 |
commit | 21826ef21ad9b1f3c67b93462fe098b94a83a311 (patch) | |
tree | cd1e7f72a5eff941c3062a511965480830494928 | |
parent | c5678d3c325ae86e8eacd96e45f1c6d00e13ce44 (diff) | |
download | android-node-v8-21826ef21ad9b1f3c67b93462fe098b94a83a311.tar.gz android-node-v8-21826ef21ad9b1f3c67b93462fe098b94a83a311.tar.bz2 android-node-v8-21826ef21ad9b1f3c67b93462fe098b94a83a311.zip |
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>
-rw-r--r-- | src/node_crypto.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_crypto.cc b/src/node_crypto.cc index aa7c451d04..d970420a6e 100644 --- a/src/node_crypto.cc +++ b/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; } |