summaryrefslogtreecommitdiffstats
path: root/lib/libssl/d1_srvr.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-01-23 10:22:06 +0000
committerjsing <jsing@openbsd.org>2017-01-23 10:22:06 +0000
commitf642e1cb36d7ce4c79f5ffb779eaedb0a433a7d3 (patch)
tree0e356d4543a468df6239544501161b2985070dc1 /lib/libssl/d1_srvr.c
parentAlso attach to "arm,armv7-timer". (diff)
downloadwireguard-openbsd-f642e1cb36d7ce4c79f5ffb779eaedb0a433a7d3.tar.xz
wireguard-openbsd-f642e1cb36d7ce4c79f5ffb779eaedb0a433a7d3.zip
Remove ssl_ctrl, ssl_ctx_ctrl, ssl_callback_ctrl and ssl_ctx_callback_ctrl
from SSL_METHOD, replacing usage with direct calls to the appropriate functions. ok beck@
Diffstat (limited to 'lib/libssl/d1_srvr.c')
-rw-r--r--lib/libssl/d1_srvr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libssl/d1_srvr.c b/lib/libssl/d1_srvr.c
index 81a05eb30e6..2a68483169e 100644
--- a/lib/libssl/d1_srvr.c
+++ b/lib/libssl/d1_srvr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: d1_srvr.c,v 1.77 2017/01/23 08:48:44 beck Exp $ */
+/* $OpenBSD: d1_srvr.c,v 1.78 2017/01/23 10:22:06 jsing Exp $ */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -147,8 +147,6 @@ static const SSL_METHOD DTLSv1_server_method_data = {
.ssl_read_bytes = dtls1_read_bytes,
.ssl_write_bytes = dtls1_write_app_data_bytes,
.ssl_dispatch_alert = dtls1_dispatch_alert,
- .ssl_ctrl = dtls1_ctrl,
- .ssl_ctx_ctrl = ssl3_ctx_ctrl,
.get_cipher_by_char = ssl3_get_cipher_by_char,
.put_cipher_by_char = ssl3_put_cipher_by_char,
.ssl_pending = ssl3_pending,
@@ -158,8 +156,6 @@ static const SSL_METHOD DTLSv1_server_method_data = {
.get_timeout = dtls1_default_timeout,
.ssl3_enc = &DTLSv1_enc_data,
.ssl_version = ssl_undefined_void_function,
- .ssl_callback_ctrl = ssl3_callback_ctrl,
- .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl,
};
const SSL_METHOD *