File Info

Rev. 2af31d809b5b1a7920472fdfb1645186830ac141
Size 552 bytes
Time 2021-12-12 23:10:44
Author simphone
Log Message

simphone 0.8.2

Content

diff -urb openssl-1.1.1l/crypto/cryptlib.c openssl/crypto/cryptlib.c
--- openssl-1.1.1l/crypto/cryptlib.c
+++ openssl/crypto/cryptlib.c
@@ -413,10 +413,17 @@
 }
 #endif
 
+#include "../../simcore/logger.h"
+#include "../../simcore/error.h"
+
 void OPENSSL_die(const char *message, const char *file, int line)
 {
+#if 1
+    log_fatal_("ssl", SIM_OK, "%s:%d: %s\n", file, line, message);
+#else
     OPENSSL_showfatal("%s:%d: OpenSSL internal error: %s\n",
                       file, line, message);
+#endif
 #if !defined(_WIN32)
     abort();
 #else
Show on old repository browser