Security fixes brought forward from 0.9.7.
[openssl.git] / crypto / cryptlib.c
index 26c1da7074f985802a3192827d7ce227b6aae1e7..38e2a533942846aab83145d8331ddaa3219e5097 100644 (file)
@@ -555,3 +555,11 @@ BOOL WINAPI DLLEntryPoint(HINSTANCE hinstDLL, DWORD fdwReason,
 #endif
 
 #endif
+
+void OpenSSLDie(const char *file,int line,const char *assertion)
+       {
+       fprintf(stderr,
+               "%s(%d): OpenSSL internal error, assertion failed: %s\n",
+               file,line,assertion);
+       abort();
+       }