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_meth.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_meth.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/libssl/t1_meth.c b/src/lib/libssl/t1_meth.c index 5c37142ab3..521839184c 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.19 2017/01/21 06:50:02 jsing Exp $ */ | 1 | /* $OpenBSD: t1_meth.c,v 1.20 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 | * |
| @@ -83,8 +83,6 @@ static const SSL_METHOD TLS_method_data = { | |||
| 83 | .ssl_read_bytes = ssl3_read_bytes, | 83 | .ssl_read_bytes = ssl3_read_bytes, |
| 84 | .ssl_write_bytes = ssl3_write_bytes, | 84 | .ssl_write_bytes = ssl3_write_bytes, |
| 85 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 85 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
| 86 | .ssl_ctrl = ssl3_ctrl, | ||
| 87 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
| 88 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 86 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
| 89 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 87 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
| 90 | .ssl_pending = ssl_undefined_const_function, | 88 | .ssl_pending = ssl_undefined_const_function, |
| @@ -94,8 +92,6 @@ static const SSL_METHOD TLS_method_data = { | |||
| 94 | .get_timeout = ssl23_default_timeout, | 92 | .get_timeout = ssl23_default_timeout, |
| 95 | .ssl3_enc = &ssl3_undef_enc_method, | 93 | .ssl3_enc = &ssl3_undef_enc_method, |
| 96 | .ssl_version = ssl_undefined_void_function, | 94 | .ssl_version = ssl_undefined_void_function, |
| 97 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
| 98 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
| 99 | }; | 95 | }; |
| 100 | 96 | ||
| 101 | static const SSL_METHOD TLSv1_method_data = { | 97 | static const SSL_METHOD TLSv1_method_data = { |
| @@ -117,8 +113,6 @@ static const SSL_METHOD TLSv1_method_data = { | |||
| 117 | .ssl_read_bytes = ssl3_read_bytes, | 113 | .ssl_read_bytes = ssl3_read_bytes, |
| 118 | .ssl_write_bytes = ssl3_write_bytes, | 114 | .ssl_write_bytes = ssl3_write_bytes, |
| 119 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 115 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
| 120 | .ssl_ctrl = ssl3_ctrl, | ||
| 121 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
| 122 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 116 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
| 123 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 117 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
| 124 | .ssl_pending = ssl3_pending, | 118 | .ssl_pending = ssl3_pending, |
| @@ -128,8 +122,6 @@ static const SSL_METHOD TLSv1_method_data = { | |||
| 128 | .get_timeout = tls1_default_timeout, | 122 | .get_timeout = tls1_default_timeout, |
| 129 | .ssl3_enc = &TLSv1_enc_data, | 123 | .ssl3_enc = &TLSv1_enc_data, |
| 130 | .ssl_version = ssl_undefined_void_function, | 124 | .ssl_version = ssl_undefined_void_function, |
| 131 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
| 132 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
| 133 | }; | 125 | }; |
| 134 | 126 | ||
| 135 | static const SSL_METHOD TLSv1_1_method_data = { | 127 | static const SSL_METHOD TLSv1_1_method_data = { |
| @@ -151,8 +143,6 @@ static const SSL_METHOD TLSv1_1_method_data = { | |||
| 151 | .ssl_read_bytes = ssl3_read_bytes, | 143 | .ssl_read_bytes = ssl3_read_bytes, |
| 152 | .ssl_write_bytes = ssl3_write_bytes, | 144 | .ssl_write_bytes = ssl3_write_bytes, |
| 153 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 145 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
| 154 | .ssl_ctrl = ssl3_ctrl, | ||
| 155 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
| 156 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 146 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
| 157 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 147 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
| 158 | .ssl_pending = ssl3_pending, | 148 | .ssl_pending = ssl3_pending, |
| @@ -162,8 +152,6 @@ static const SSL_METHOD TLSv1_1_method_data = { | |||
| 162 | .get_timeout = tls1_default_timeout, | 152 | .get_timeout = tls1_default_timeout, |
| 163 | .ssl3_enc = &TLSv1_1_enc_data, | 153 | .ssl3_enc = &TLSv1_1_enc_data, |
| 164 | .ssl_version = ssl_undefined_void_function, | 154 | .ssl_version = ssl_undefined_void_function, |
| 165 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
| 166 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
| 167 | }; | 155 | }; |
| 168 | 156 | ||
| 169 | static const SSL_METHOD TLSv1_2_method_data = { | 157 | static const SSL_METHOD TLSv1_2_method_data = { |
| @@ -185,8 +173,6 @@ static const SSL_METHOD TLSv1_2_method_data = { | |||
| 185 | .ssl_read_bytes = ssl3_read_bytes, | 173 | .ssl_read_bytes = ssl3_read_bytes, |
| 186 | .ssl_write_bytes = ssl3_write_bytes, | 174 | .ssl_write_bytes = ssl3_write_bytes, |
| 187 | .ssl_dispatch_alert = ssl3_dispatch_alert, | 175 | .ssl_dispatch_alert = ssl3_dispatch_alert, |
| 188 | .ssl_ctrl = ssl3_ctrl, | ||
| 189 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
| 190 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 176 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
| 191 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 177 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
| 192 | .ssl_pending = ssl3_pending, | 178 | .ssl_pending = ssl3_pending, |
| @@ -196,8 +182,6 @@ static const SSL_METHOD TLSv1_2_method_data = { | |||
| 196 | .get_timeout = tls1_default_timeout, | 182 | .get_timeout = tls1_default_timeout, |
| 197 | .ssl3_enc = &TLSv1_2_enc_data, | 183 | .ssl3_enc = &TLSv1_2_enc_data, |
| 198 | .ssl_version = ssl_undefined_void_function, | 184 | .ssl_version = ssl_undefined_void_function, |
| 199 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
| 200 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
| 201 | }; | 185 | }; |
| 202 | 186 | ||
| 203 | static const SSL_METHOD * | 187 | static const SSL_METHOD * |
