summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_srvr.c
diff options
context:
space:
mode:
authorjsing <>2018-08-30 16:56:16 +0000
committerjsing <>2018-08-30 16:56:16 +0000
commitaa46916ffff53f4d8fa6bd701c96da70c82b1547 (patch)
tree031b7e3310063f352295a693ac1da2c62ad5d8f1 /src/lib/libssl/d1_srvr.c
parent6f960c595dec72229260d0e58fb8c9de5a26062e (diff)
downloadopenbsd-aa46916ffff53f4d8fa6bd701c96da70c82b1547.tar.gz
openbsd-aa46916ffff53f4d8fa6bd701c96da70c82b1547.tar.bz2
openbsd-aa46916ffff53f4d8fa6bd701c96da70c82b1547.zip
Nuke ssl_pending/ssl_shutdown function pointers.
ssl3_pending() is used for all protocols and dtls1_shutdown() just calls ssl3_shutdown(), so just call the appropriate function directly instead. ok beck@ inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/d1_srvr.c')
-rw-r--r--src/lib/libssl/d1_srvr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c
index 4217519783..c0ee0d00aa 100644
--- a/src/lib/libssl/d1_srvr.c
+++ b/src/lib/libssl/d1_srvr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_srvr.c,v 1.93 2018/08/24 17:30:32 jsing Exp $ */ 1/* $OpenBSD: d1_srvr.c,v 1.94 2018/08/30 16:56:16 jsing Exp $ */
2/* 2/*
3 * DTLS implementation written by Nagendra Modadugu 3 * DTLS implementation written by Nagendra Modadugu
4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -134,8 +134,6 @@ static const SSL_METHOD_INTERNAL DTLSv1_server_method_internal_data = {
134 .ssl_free = dtls1_free, 134 .ssl_free = dtls1_free,
135 .ssl_accept = ssl3_accept, 135 .ssl_accept = ssl3_accept,
136 .ssl_connect = ssl_undefined_function, 136 .ssl_connect = ssl_undefined_function,
137 .ssl_shutdown = dtls1_shutdown,
138 .ssl_pending = ssl3_pending,
139 .get_ssl_method = dtls1_get_server_method, 137 .get_ssl_method = dtls1_get_server_method,
140 .get_timeout = dtls1_default_timeout, 138 .get_timeout = dtls1_default_timeout,
141 .ssl_version = ssl_undefined_void_function, 139 .ssl_version = ssl_undefined_void_function,