summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_clnt.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_clnt.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_clnt.c')
-rw-r--r--src/lib/libssl/d1_clnt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/d1_clnt.c b/src/lib/libssl/d1_clnt.c
index ee0e620ad8..8f60f4a8c4 100644
--- a/src/lib/libssl/d1_clnt.c
+++ b/src/lib/libssl/d1_clnt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_clnt.c,v 1.80 2018/04/07 17:02:34 jsing Exp $ */ 1/* $OpenBSD: d1_clnt.c,v 1.81 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.
@@ -136,8 +136,6 @@ static const SSL_METHOD_INTERNAL DTLSv1_client_method_internal_data = {
136 .ssl_free = dtls1_free, 136 .ssl_free = dtls1_free,
137 .ssl_accept = ssl_undefined_function, 137 .ssl_accept = ssl_undefined_function,
138 .ssl_connect = ssl3_connect, 138 .ssl_connect = ssl3_connect,
139 .ssl_shutdown = dtls1_shutdown,
140 .ssl_pending = ssl3_pending,
141 .get_ssl_method = dtls1_get_client_method, 139 .get_ssl_method = dtls1_get_client_method,
142 .get_timeout = dtls1_default_timeout, 140 .get_timeout = dtls1_default_timeout,
143 .ssl_version = ssl_undefined_void_function, 141 .ssl_version = ssl_undefined_void_function,