diff options
author | jsing <> | 2014-08-10 14:42:56 +0000 |
---|---|---|
committer | jsing <> | 2014-08-10 14:42:56 +0000 |
commit | cdc0e904c0db18d8a94dbc75555c41585f6a7867 (patch) | |
tree | 2aa183c3a15875e9ec36793e3cb35c3a765c0fcc /src/lib/libssl/t1_meth.c | |
parent | f26635d06fdd0bb26d5ee990a796492daaa92b29 (diff) | |
download | openbsd-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/t1_meth.c')
-rw-r--r-- | src/lib/libssl/t1_meth.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libssl/t1_meth.c b/src/lib/libssl/t1_meth.c index 71ddc101e1..de066322f4 100644 --- a/src/lib/libssl/t1_meth.c +++ b/src/lib/libssl/t1_meth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t1_meth.c,v 1.12 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: t1_meth.c,v 1.13 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 | * |
@@ -81,8 +81,6 @@ const SSL_METHOD TLSv1_method_data = { | |||
81 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 81 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
82 | .ssl_ctrl = ssl3_ctrl, | 82 | .ssl_ctrl = ssl3_ctrl, |
83 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | 83 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, |
84 | .get_cipher_by_char = ssl3_get_cipher_by_char, | ||
85 | .put_cipher_by_char = ssl3_put_cipher_by_char, | ||
86 | .ssl_pending = ssl3_pending, | 84 | .ssl_pending = ssl3_pending, |
87 | .num_ciphers = ssl3_num_ciphers, | 85 | .num_ciphers = ssl3_num_ciphers, |
88 | .get_cipher = ssl3_get_cipher, | 86 | .get_cipher = ssl3_get_cipher, |
@@ -113,8 +111,6 @@ const SSL_METHOD TLSv1_1_method_data = { | |||
113 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 111 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
114 | .ssl_ctrl = ssl3_ctrl, | 112 | .ssl_ctrl = ssl3_ctrl, |
115 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | 113 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, |
116 | .get_cipher_by_char = ssl3_get_cipher_by_char, | ||
117 | .put_cipher_by_char = ssl3_put_cipher_by_char, | ||
118 | .ssl_pending = ssl3_pending, | 114 | .ssl_pending = ssl3_pending, |
119 | .num_ciphers = ssl3_num_ciphers, | 115 | .num_ciphers = ssl3_num_ciphers, |
120 | .get_cipher = ssl3_get_cipher, | 116 | .get_cipher = ssl3_get_cipher, |
@@ -145,8 +141,6 @@ const SSL_METHOD TLSv1_2_method_data = { | |||
145 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 141 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
146 | .ssl_ctrl = ssl3_ctrl, | 142 | .ssl_ctrl = ssl3_ctrl, |
147 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | 143 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, |
148 | .get_cipher_by_char = ssl3_get_cipher_by_char, | ||
149 | .put_cipher_by_char = ssl3_put_cipher_by_char, | ||
150 | .ssl_pending = ssl3_pending, | 144 | .ssl_pending = ssl3_pending, |
151 | .num_ciphers = ssl3_num_ciphers, | 145 | .num_ciphers = ssl3_num_ciphers, |
152 | .get_cipher = ssl3_get_cipher, | 146 | .get_cipher = ssl3_get_cipher, |