diff options
| author | jsing <> | 2017-01-23 10:22:06 +0000 |
|---|---|---|
| committer | jsing <> | 2017-01-23 10:22:06 +0000 |
| commit | d1f62adda9b27d4af7635001d92beb6542e79470 (patch) | |
| tree | 45f8733f12cae1ed103f7565222351ce0be8ccda /src/lib/libssl/t1_clnt.c | |
| parent | 0927493f531adeabf84d55b13ddacdc96243c148 (diff) | |
| download | openbsd-d1f62adda9b27d4af7635001d92beb6542e79470.tar.gz openbsd-d1f62adda9b27d4af7635001d92beb6542e79470.tar.bz2 openbsd-d1f62adda9b27d4af7635001d92beb6542e79470.zip | |
Remove ssl_ctrl, ssl_ctx_ctrl, ssl_callback_ctrl and ssl_ctx_callback_ctrl
from SSL_METHOD, replacing usage with direct calls to the appropriate
functions.
ok beck@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/t1_clnt.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/libssl/t1_clnt.c b/src/lib/libssl/t1_clnt.c index d643d5db13..d07e54d9f7 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.20 2017/01/21 06:50:02 jsing Exp $ */ | 1 | /* $OpenBSD: t1_clnt.c,v 1.21 2017/01/23 10:22:06 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 | * |
| @@ -85,8 +85,6 @@ static const SSL_METHOD TLS_client_method_data = { | |||
| 85 | .ssl_read_bytes = ssl3_read_bytes, | 85 | .ssl_read_bytes = ssl3_read_bytes, |
| 86 | .ssl_write_bytes = ssl3_write_bytes, | 86 | .ssl_write_bytes = ssl3_write_bytes, |
| 87 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 87 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
| 88 | .ssl_ctrl = ssl3_ctrl, | ||
| 89 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
| 90 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 88 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
| 91 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 89 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
| 92 | .ssl_pending = ssl_undefined_const_function, | 90 | .ssl_pending = ssl_undefined_const_function, |
| @@ -96,8 +94,6 @@ static const SSL_METHOD TLS_client_method_data = { | |||
| 96 | .get_timeout = ssl23_default_timeout, | 94 | .get_timeout = ssl23_default_timeout, |
| 97 | .ssl3_enc = &ssl3_undef_enc_method, | 95 | .ssl3_enc = &ssl3_undef_enc_method, |
| 98 | .ssl_version = ssl_undefined_void_function, | 96 | .ssl_version = ssl_undefined_void_function, |
| 99 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
| 100 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
| 101 | }; | 97 | }; |
| 102 | 98 | ||
| 103 | static const SSL_METHOD TLSv1_client_method_data = { | 99 | static const SSL_METHOD TLSv1_client_method_data = { |
| @@ -119,8 +115,6 @@ static const SSL_METHOD TLSv1_client_method_data = { | |||
| 119 | .ssl_read_bytes = ssl3_read_bytes, | 115 | .ssl_read_bytes = ssl3_read_bytes, |
| 120 | .ssl_write_bytes = ssl3_write_bytes, | 116 | .ssl_write_bytes = ssl3_write_bytes, |
| 121 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 117 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
| 122 | .ssl_ctrl = ssl3_ctrl, | ||
| 123 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
| 124 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 118 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
| 125 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 119 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
| 126 | .ssl_pending = ssl3_pending, | 120 | .ssl_pending = ssl3_pending, |
| @@ -130,8 +124,6 @@ static const SSL_METHOD TLSv1_client_method_data = { | |||
| 130 | .get_timeout = tls1_default_timeout, | 124 | .get_timeout = tls1_default_timeout, |
| 131 | .ssl3_enc = &TLSv1_enc_data, | 125 | .ssl3_enc = &TLSv1_enc_data, |
| 132 | .ssl_version = ssl_undefined_void_function, | 126 | .ssl_version = ssl_undefined_void_function, |
| 133 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
| 134 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
| 135 | }; | 127 | }; |
| 136 | 128 | ||
| 137 | static const SSL_METHOD TLSv1_1_client_method_data = { | 129 | static const SSL_METHOD TLSv1_1_client_method_data = { |
| @@ -153,8 +145,6 @@ static const SSL_METHOD TLSv1_1_client_method_data = { | |||
| 153 | .ssl_read_bytes = ssl3_read_bytes, | 145 | .ssl_read_bytes = ssl3_read_bytes, |
| 154 | .ssl_write_bytes = ssl3_write_bytes, | 146 | .ssl_write_bytes = ssl3_write_bytes, |
| 155 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 147 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
| 156 | .ssl_ctrl = ssl3_ctrl, | ||
| 157 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
| 158 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 148 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
| 159 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 149 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
| 160 | .ssl_pending = ssl3_pending, | 150 | .ssl_pending = ssl3_pending, |
| @@ -164,8 +154,6 @@ static const SSL_METHOD TLSv1_1_client_method_data = { | |||
| 164 | .get_timeout = tls1_default_timeout, | 154 | .get_timeout = tls1_default_timeout, |
| 165 | .ssl3_enc = &TLSv1_1_enc_data, | 155 | .ssl3_enc = &TLSv1_1_enc_data, |
| 166 | .ssl_version = ssl_undefined_void_function, | 156 | .ssl_version = ssl_undefined_void_function, |
| 167 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
| 168 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
| 169 | }; | 157 | }; |
| 170 | 158 | ||
| 171 | static const SSL_METHOD TLSv1_2_client_method_data = { | 159 | static const SSL_METHOD TLSv1_2_client_method_data = { |
| @@ -187,8 +175,6 @@ static const SSL_METHOD TLSv1_2_client_method_data = { | |||
| 187 | .ssl_read_bytes = ssl3_read_bytes, | 175 | .ssl_read_bytes = ssl3_read_bytes, |
| 188 | .ssl_write_bytes = ssl3_write_bytes, | 176 | .ssl_write_bytes = ssl3_write_bytes, |
| 189 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 177 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
| 190 | .ssl_ctrl = ssl3_ctrl, | ||
| 191 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
| 192 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 178 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
| 193 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 179 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
| 194 | .ssl_pending = ssl3_pending, | 180 | .ssl_pending = ssl3_pending, |
| @@ -198,8 +184,6 @@ static const SSL_METHOD TLSv1_2_client_method_data = { | |||
| 198 | .get_timeout = tls1_default_timeout, | 184 | .get_timeout = tls1_default_timeout, |
| 199 | .ssl3_enc = &TLSv1_2_enc_data, | 185 | .ssl3_enc = &TLSv1_2_enc_data, |
| 200 | .ssl_version = ssl_undefined_void_function, | 186 | .ssl_version = ssl_undefined_void_function, |
| 201 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
| 202 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
| 203 | }; | 187 | }; |
| 204 | 188 | ||
| 205 | static const SSL_METHOD * | 189 | static const SSL_METHOD * |
