summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/ssl/ssl_lib.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2002-07-30 11:08:05 +0000
committermarkus <markus@openbsd.org>2002-07-30 11:08:05 +0000
commit428837d1af6ee7883726f5a6f82d6bae10ac0025 (patch)
tree6cad96e6d9a4f7e09d07030b70c21d9902cf5e9b /lib/libssl/src/ssl/ssl_lib.c
parentstrip_chroot here as well. (diff)
downloadwireguard-openbsd-428837d1af6ee7883726f5a6f82d6bae10ac0025.tar.xz
wireguard-openbsd-428837d1af6ee7883726f5a6f82d6bae10ac0025.zip
apply patches from OpenSSL Security Advisory [30 July 2002],
http://marc.theaimsgroup.com/?l=openssl-dev&m=102802395104110&w=2
Diffstat (limited to 'lib/libssl/src/ssl/ssl_lib.c')
-rw-r--r--lib/libssl/src/ssl/ssl_lib.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libssl/src/ssl/ssl_lib.c b/lib/libssl/src/ssl/ssl_lib.c
index df307a80c58..e516382b6c6 100644
--- a/lib/libssl/src/ssl/ssl_lib.c
+++ b/lib/libssl/src/ssl/ssl_lib.c
@@ -2289,3 +2289,10 @@ void SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version, int con
IMPLEMENT_STACK_OF(SSL_CIPHER)
IMPLEMENT_STACK_OF(SSL_COMP)
+
+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();
+ }