aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-08-02 11:48:15 +0000
committerBodo Möller <bodo@openssl.org>2002-08-02 11:48:15 +0000
commit5574e0ed417c9a09487a270fec3df34d3094f5c6 (patch)
treeae3a9a39081ea1b5a01482dd15f6f8b259fa93e9 /crypto
parent042e57d5628244b121836881c433b6fa2b6f1697 (diff)
downloadopenssl-5574e0ed417c9a09487a270fec3df34d3094f5c6.tar.gz
get rid of OpenSSLDie
Diffstat (limited to 'crypto')
-rw-r--r--crypto/cryptlib.c8
-rw-r--r--crypto/cryptlib.h4
2 files changed, 0 insertions, 12 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index 3bceddfbbf..9a7ed2cf75 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -494,11 +494,3 @@ 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();
- }
-
diff --git a/crypto/cryptlib.h b/crypto/cryptlib.h
index 985a6d377c..88e4ae509f 100644
--- a/crypto/cryptlib.h
+++ b/crypto/cryptlib.h
@@ -93,10 +93,6 @@ extern "C" {
#define DECIMAL_SIZE(type) ((sizeof(type)*8+2)/3+1)
#define HEX_SIZE(type) ((sizeof(type)*2)
-/* die if we have to */
-void OpenSSLDie(const char *file,int line,const char *assertion);
-#define die(e) ((e) ? (void)0 : OpenSSLDie(__FILE__, __LINE__, #e))
-
#ifdef __cplusplus
}
#endif