summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2019-11-17 19:07:07 +0000
committerjsing <jsing@openbsd.org>2019-11-17 19:07:07 +0000
commit1a6e11778a7cc2b1a70586edfc4b1ddf72794d13 (patch)
tree57dd7e6093ab0fe3d8b7a1313f22aaa362cf8e58 /lib/libssl/ssl_lib.c
parentAdd a reference for the non-standard post-handshake handshake (PHH). (diff)
downloadwireguard-openbsd-1a6e11778a7cc2b1a70586edfc4b1ddf72794d13.tar.xz
wireguard-openbsd-1a6e11778a7cc2b1a70586edfc4b1ddf72794d13.zip
Bring back the ssl_shutdown internal method pointer.
For now ssl3_shutdown() is called in all cases, however TLSv1.3 will soon get its own version. ok beck@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
-rw-r--r--lib/libssl/ssl_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c
index 32c1aef017c..374342c3113 100644
--- a/lib/libssl/ssl_lib.c
+++ b/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_lib.c,v 1.206 2019/11/04 19:17:28 otto Exp $ */
+/* $OpenBSD: ssl_lib.c,v 1.207 2019/11/17 19:07:07 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1012,7 +1012,7 @@ SSL_shutdown(SSL *s)
}
if (s != NULL && !SSL_in_init(s))
- return (ssl3_shutdown(s));
+ return (s->method->internal->ssl_shutdown(s));
return (1);
}