summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_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/s3_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/s3_srvr.c')
-rw-r--r--src/lib/libssl/s3_srvr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/s3_srvr.c b/src/lib/libssl/s3_srvr.c
index ed2aaf19b5..7b29ec41c8 100644
--- a/src/lib/libssl/s3_srvr.c
+++ b/src/lib/libssl/s3_srvr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s3_srvr.c,v 1.79 2014/07/28 04:23:12 guenther Exp $ */ 1/* $OpenBSD: s3_srvr.c,v 1.80 2014/08/10 14:42:56 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -184,8 +184,6 @@ const SSL_METHOD SSLv3_server_method_data = {
184 .ssl_dispatch_alert = ssl3_dispatch_alert, 184 .ssl_dispatch_alert = ssl3_dispatch_alert,
185 .ssl_ctrl = ssl3_ctrl, 185 .ssl_ctrl = ssl3_ctrl,
186 .ssl_ctx_ctrl = ssl3_ctx_ctrl, 186 .ssl_ctx_ctrl = ssl3_ctx_ctrl,
187 .get_cipher_by_char = ssl3_get_cipher_by_char,
188 .put_cipher_by_char = ssl3_put_cipher_by_char,
189 .ssl_pending = ssl3_pending, 187 .ssl_pending = ssl3_pending,
190 .num_ciphers = ssl3_num_ciphers, 188 .num_ciphers = ssl3_num_ciphers,
191 .get_cipher = ssl3_get_cipher, 189 .get_cipher = ssl3_get_cipher,