Skip to content

Commit 21826ef

Browse files
committed
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 c5678d3 commit 21826ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_crypto.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ static X509_STORE* NewRootCertStore() {
698698

699699
if (x509 == nullptr) {
700700
// Parse errors from the built-in roots are fatal.
701-
abort();
701+
ABORT();
702702
return nullptr;
703703
}
704704

0 commit comments

Comments
 (0)