summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_srvr.c
diff options
context:
space:
mode:
authorjsing <>2014-08-10 14:42:56 +0000
committerjsing <>2014-08-10 14:42:56 +0000
commitcdc0e904c0db18d8a94dbc75555c41585f6a7867 (patch)
tree2aa183c3a15875e9ec36793e3cb35c3a765c0fcc /src/lib/libssl/d1_srvr.c
parentf26635d06fdd0bb26d5ee990a796492daaa92b29 (diff)
downloadopenbsd-cdc0e904c0db18d8a94dbc75555c41585f6a7867.tar.gz
openbsd-cdc0e904c0db18d8a94dbc75555c41585f6a7867.tar.bz2
openbsd-cdc0e904c0db18d8a94dbc75555c41585f6a7867.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 '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 848bc0f0be..9fdd025e2d 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.35 2014/08/06 20:11:09 miod Exp $ */ 1/* $OpenBSD: d1_srvr.c,v 1.36 2014/08/10 14:42:56 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.
@@ -146,8 +146,6 @@ const SSL_METHOD DTLSv1_server_method_data = {
146 .ssl_dispatch_alert = dtls1_dispatch_alert, 146 .ssl_dispatch_alert = dtls1_dispatch_alert,
147 .ssl_ctrl = dtls1_ctrl, 147 .ssl_ctrl = dtls1_ctrl,
148 .ssl_ctx_ctrl = ssl3_ctx_ctrl, 148 .ssl_ctx_ctrl = ssl3_ctx_ctrl,
149 .get_cipher_by_char = ssl3_get_cipher_by_char,
150 .put_cipher_by_char = ssl3_put_cipher_by_char,
151 .ssl_pending = ssl3_pending, 149 .ssl_pending = ssl3_pending,
152 .num_ciphers = ssl3_num_ciphers, 150 .num_ciphers = ssl3_num_ciphers,
153 .get_cipher = dtls1_get_cipher, 151 .get_cipher = dtls1_get_cipher,