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_srvr.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_srvr.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/libssl/t1_srvr.c b/src/lib/libssl/t1_srvr.c index 84ed66c7ed..e0b247441a 100644 --- a/src/lib/libssl/t1_srvr.c +++ b/src/lib/libssl/t1_srvr.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t1_srvr.c,v 1.21 2017/01/21 06:50:02 jsing Exp $ */ | 1 | /* $OpenBSD: t1_srvr.c,v 1.22 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 | * |
| @@ -86,8 +86,6 @@ static const SSL_METHOD TLS_server_method_data = { | |||
| 86 | .ssl_read_bytes = ssl3_read_bytes, | 86 | .ssl_read_bytes = ssl3_read_bytes, |
| 87 | .ssl_write_bytes = ssl3_write_bytes, | 87 | .ssl_write_bytes = ssl3_write_bytes, |
| 88 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 88 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
| 89 | .ssl_ctrl = ssl3_ctrl, | ||
| 90 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
| 91 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 89 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
| 92 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 90 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
| 93 | .ssl_pending = ssl_undefined_const_function, | 91 | .ssl_pending = ssl_undefined_const_function, |
| @@ -97,8 +95,6 @@ static const SSL_METHOD TLS_server_method_data = { | |||
| 97 | .get_timeout = ssl23_default_timeout, | 95 | .get_timeout = ssl23_default_timeout, |
| 98 | .ssl3_enc = &ssl3_undef_enc_method, | 96 | .ssl3_enc = &ssl3_undef_enc_method, |
| 99 | .ssl_version = ssl_undefined_void_function, | 97 | .ssl_version = ssl_undefined_void_function, |
| 100 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
| 101 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
| 102 | }; | 98 | }; |
| 103 | 99 | ||
| 104 | static const SSL_METHOD TLSv1_server_method_data = { | 100 | static const SSL_METHOD TLSv1_server_method_data = { |
| @@ -120,8 +116,6 @@ static const SSL_METHOD TLSv1_server_method_data = { | |||
| 120 | .ssl_read_bytes = ssl3_read_bytes, | 116 | .ssl_read_bytes = ssl3_read_bytes, |
| 121 | .ssl_write_bytes = ssl3_write_bytes, | 117 | .ssl_write_bytes = ssl3_write_bytes, |
| 122 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 118 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
| 123 | .ssl_ctrl = ssl3_ctrl, | ||
| 124 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
| 125 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 119 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
| 126 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 120 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
| 127 | .ssl_pending = ssl3_pending, | 121 | .ssl_pending = ssl3_pending, |
| @@ -131,8 +125,6 @@ static const SSL_METHOD TLSv1_server_method_data = { | |||
| 131 | .get_timeout = tls1_default_timeout, | 125 | .get_timeout = tls1_default_timeout, |
| 132 | .ssl3_enc = &TLSv1_enc_data, | 126 | .ssl3_enc = &TLSv1_enc_data, |
| 133 | .ssl_version = ssl_undefined_void_function, | 127 | .ssl_version = ssl_undefined_void_function, |
| 134 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
| 135 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
| 136 | }; | 128 | }; |
| 137 | 129 | ||
| 138 | static const SSL_METHOD TLSv1_1_server_method_data = { | 130 | static const SSL_METHOD TLSv1_1_server_method_data = { |
| @@ -154,8 +146,6 @@ static const SSL_METHOD TLSv1_1_server_method_data = { | |||
| 154 | .ssl_read_bytes = ssl3_read_bytes, | 146 | .ssl_read_bytes = ssl3_read_bytes, |
| 155 | .ssl_write_bytes = ssl3_write_bytes, | 147 | .ssl_write_bytes = ssl3_write_bytes, |
| 156 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 148 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
| 157 | .ssl_ctrl = ssl3_ctrl, | ||
| 158 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
| 159 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 149 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
| 160 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 150 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
| 161 | .ssl_pending = ssl3_pending, | 151 | .ssl_pending = ssl3_pending, |
| @@ -165,8 +155,6 @@ static const SSL_METHOD TLSv1_1_server_method_data = { | |||
| 165 | .get_timeout = tls1_default_timeout, | 155 | .get_timeout = tls1_default_timeout, |
| 166 | .ssl3_enc = &TLSv1_1_enc_data, | 156 | .ssl3_enc = &TLSv1_1_enc_data, |
| 167 | .ssl_version = ssl_undefined_void_function, | 157 | .ssl_version = ssl_undefined_void_function, |
| 168 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
| 169 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
| 170 | }; | 158 | }; |
| 171 | 159 | ||
| 172 | static const SSL_METHOD TLSv1_2_server_method_data = { | 160 | static const SSL_METHOD TLSv1_2_server_method_data = { |
| @@ -188,8 +176,6 @@ static const SSL_METHOD TLSv1_2_server_method_data = { | |||
| 188 | .ssl_read_bytes = ssl3_read_bytes, | 176 | .ssl_read_bytes = ssl3_read_bytes, |
| 189 | .ssl_write_bytes = ssl3_write_bytes, | 177 | .ssl_write_bytes = ssl3_write_bytes, |
| 190 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 178 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
| 191 | .ssl_ctrl = ssl3_ctrl, | ||
| 192 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
| 193 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 179 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
| 194 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 180 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
| 195 | .ssl_pending = ssl3_pending, | 181 | .ssl_pending = ssl3_pending, |
| @@ -199,8 +185,6 @@ static const SSL_METHOD TLSv1_2_server_method_data = { | |||
| 199 | .get_timeout = tls1_default_timeout, | 185 | .get_timeout = tls1_default_timeout, |
| 200 | .ssl3_enc = &TLSv1_2_enc_data, | 186 | .ssl3_enc = &TLSv1_2_enc_data, |
| 201 | .ssl_version = ssl_undefined_void_function, | 187 | .ssl_version = ssl_undefined_void_function, |
| 202 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
| 203 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
| 204 | }; | 188 | }; |
| 205 | 189 | ||
| 206 | static const SSL_METHOD * | 190 | static const SSL_METHOD * |
