aboutsummaryrefslogtreecommitdiff
path: root/crypto/cryptlib.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2016-02-13 14:20:43 -0500
committerRich Salz <rsalz@openssl.org>2016-03-08 14:46:17 -0500
commit040d43b3ff8daca32dd0f72155f668249506b51b (patch)
treec074fb38ae2fa87825901dd703a1d6d6cdddb69a /crypto/cryptlib.c
parentc7f1fa8ec0c022e5014ef45348e869f9d8781327 (diff)
downloadopenssl-040d43b3ff8daca32dd0f72155f668249506b51b.zip
openssl-040d43b3ff8daca32dd0f72155f668249506b51b.tar.gz
openssl-040d43b3ff8daca32dd0f72155f668249506b51b.tar.bz2
OpenSSLDie --> OPENSSL_die
Also removed a bunch of unused define's from e_os.h Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r--crypto/cryptlib.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index 8052893..e41a6fc 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -449,11 +449,10 @@ int OPENSSL_isservice(void)
}
#endif
-void OpenSSLDie(const char *file, int line, const char *assertion)
+void OPENSSL_die(const char *message, const char *file, int line)
{
- OPENSSL_showfatal
- ("%s(%d): OpenSSL internal error, assertion failed: %s\n", file, line,
- assertion);
+ OPENSSL_showfatal("%s:%d: OpenSSL internal error: %s\n",
+ file, line, message);
#if !defined(_WIN32) || defined(__CYGWIN__)
abort();
#else