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_clnt.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_clnt.c')
-rw-r--r-- | src/lib/libssl/t1_clnt.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libssl/t1_clnt.c b/src/lib/libssl/t1_clnt.c index 15ff91a8c4..3781063eb6 100644 --- a/src/lib/libssl/t1_clnt.c +++ b/src/lib/libssl/t1_clnt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t1_clnt.c,v 1.13 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: t1_clnt.c,v 1.14 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 | * |
@@ -84,8 +84,6 @@ const SSL_METHOD TLSv1_client_method_data = { | |||
84 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 84 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
85 | .ssl_ctrl = ssl3_ctrl, | 85 | .ssl_ctrl = ssl3_ctrl, |
86 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | 86 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, |
87 | .get_cipher_by_char = ssl3_get_cipher_by_char, | ||
88 | .put_cipher_by_char = ssl3_put_cipher_by_char, | ||
89 | .ssl_pending = ssl3_pending, | 87 | .ssl_pending = ssl3_pending, |
90 | .num_ciphers = ssl3_num_ciphers, | 88 | .num_ciphers = ssl3_num_ciphers, |
91 | .get_cipher = ssl3_get_cipher, | 89 | .get_cipher = ssl3_get_cipher, |
@@ -116,8 +114,6 @@ const SSL_METHOD TLSv1_1_client_method_data = { | |||
116 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 114 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
117 | .ssl_ctrl = ssl3_ctrl, | 115 | .ssl_ctrl = ssl3_ctrl, |
118 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | 116 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, |
119 | .get_cipher_by_char = ssl3_get_cipher_by_char, | ||
120 | .put_cipher_by_char = ssl3_put_cipher_by_char, | ||
121 | .ssl_pending = ssl3_pending, | 117 | .ssl_pending = ssl3_pending, |
122 | .num_ciphers = ssl3_num_ciphers, | 118 | .num_ciphers = ssl3_num_ciphers, |
123 | .get_cipher = ssl3_get_cipher, | 119 | .get_cipher = ssl3_get_cipher, |
@@ -148,8 +144,6 @@ const SSL_METHOD TLSv1_2_client_method_data = { | |||
148 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 144 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
149 | .ssl_ctrl = ssl3_ctrl, | 145 | .ssl_ctrl = ssl3_ctrl, |
150 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | 146 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, |
151 | .get_cipher_by_char = ssl3_get_cipher_by_char, | ||
152 | .put_cipher_by_char = ssl3_put_cipher_by_char, | ||
153 | .ssl_pending = ssl3_pending, | 147 | .ssl_pending = ssl3_pending, |
154 | .num_ciphers = ssl3_num_ciphers, | 148 | .num_ciphers = ssl3_num_ciphers, |
155 | .get_cipher = ssl3_get_cipher, | 149 | .get_cipher = ssl3_get_cipher, |