Skip to content

Commit a118bb8

Browse files
evanlucasMylesBorins
authored andcommitted
src: use ABORT() macro instead of abort()
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]>
1 parent 01280a0 commit a118bb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_crypto.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ static X509_STORE* NewRootCertStore() {
715715

716716
if (x509 == nullptr) {
717717
// Parse errors from the built-in roots are fatal.
718-
abort();
718+
ABORT();
719719
return nullptr;
720720
}
721721

0 commit comments

Comments
 (0)