diff options
author | jsing <> | 2017-01-23 10:22:06 +0000 |
---|---|---|
committer | jsing <> | 2017-01-23 10:22:06 +0000 |
commit | 034e1f9018bedb7d71df3286551c19fa5bd18c07 (patch) | |
tree | 45f8733f12cae1ed103f7565222351ce0be8ccda /src/lib/libssl/d1_clnt.c | |
parent | 61af17199189570a4400f2757a9e8dab4bb76d2a (diff) | |
download | openbsd-034e1f9018bedb7d71df3286551c19fa5bd18c07.tar.gz openbsd-034e1f9018bedb7d71df3286551c19fa5bd18c07.tar.bz2 openbsd-034e1f9018bedb7d71df3286551c19fa5bd18c07.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 'src/lib/libssl/d1_clnt.c')
-rw-r--r-- | src/lib/libssl/d1_clnt.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libssl/d1_clnt.c b/src/lib/libssl/d1_clnt.c index 9319794a66..503a1f7fc6 100644 --- a/src/lib/libssl/d1_clnt.c +++ b/src/lib/libssl/d1_clnt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_clnt.c,v 1.67 2017/01/23 08:48:44 beck Exp $ */ | 1 | /* $OpenBSD: d1_clnt.c,v 1.68 2017/01/23 10:22:06 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
@@ -149,8 +149,6 @@ static const SSL_METHOD DTLSv1_client_method_data = { | |||
149 | .ssl_read_bytes = dtls1_read_bytes, | 149 | .ssl_read_bytes = dtls1_read_bytes, |
150 | .ssl_write_bytes = dtls1_write_app_data_bytes, | 150 | .ssl_write_bytes = dtls1_write_app_data_bytes, |
151 | .ssl_dispatch_alert = dtls1_dispatch_alert, | 151 | .ssl_dispatch_alert = dtls1_dispatch_alert, |
152 | .ssl_ctrl = dtls1_ctrl, | ||
153 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
154 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 152 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
155 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 153 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
156 | .ssl_pending = ssl3_pending, | 154 | .ssl_pending = ssl3_pending, |
@@ -160,8 +158,6 @@ static const SSL_METHOD DTLSv1_client_method_data = { | |||
160 | .get_timeout = dtls1_default_timeout, | 158 | .get_timeout = dtls1_default_timeout, |
161 | .ssl3_enc = &DTLSv1_enc_data, | 159 | .ssl3_enc = &DTLSv1_enc_data, |
162 | .ssl_version = ssl_undefined_void_function, | 160 | .ssl_version = ssl_undefined_void_function, |
163 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
164 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
165 | }; | 161 | }; |
166 | 162 | ||
167 | const SSL_METHOD * | 163 | const SSL_METHOD * |