summaryrefslogtreecommitdiffstats
path: root/lib/libssl/d1_srvr.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-08-10 14:42:55 +0000
committerjsing <jsing@openbsd.org>2014-08-10 14:42:55 +0000
commit3e6620b05005703104bc76bb7ab704a725e99897 (patch)
tree43645363ec33870f6339e73eec118c9ae7acba82 /lib/libssl/d1_srvr.c
parentAsk for the descriptor size corresponding to the number of ports present (diff)
downloadwireguard-openbsd-3e6620b05005703104bc76bb7ab704a725e99897.tar.xz
wireguard-openbsd-3e6620b05005703104bc76bb7ab704a725e99897.zip
Since we no longer need to support SSLv2-style cipher lists, start
unravelling the maze of function pointers and callbacks by directly calling ssl3_{get,put}_cipher_by_char() and removing the ssl_{get,put}_cipher_by_char macros. Prompted by similar changes in boringssl. ok guenther.
Diffstat (limited to 'lib/libssl/d1_srvr.c')
-rw-r--r--lib/libssl/d1_srvr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/d1_srvr.c b/lib/libssl/d1_srvr.c
index 848bc0f0be2..9fdd025e2d8 100644
--- a/lib/libssl/d1_srvr.c
+++ b/lib/libssl/d1_srvr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: d1_srvr.c,v 1.35 2014/08/06 20:11:09 miod Exp $ */
+/* $OpenBSD: d1_srvr.c,v 1.36 2014/08/10 14:42:56 jsing Exp $ */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -146,8 +146,6 @@ const SSL_METHOD DTLSv1_server_method_data = {
.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,
.num_ciphers = ssl3_num_ciphers,
.get_cipher = dtls1_get_cipher,