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_srvr.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_srvr.c')
-rw-r--r-- | src/lib/libssl/d1_srvr.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c index 81a05eb30e..2a68483169 100644 --- a/src/lib/libssl/d1_srvr.c +++ b/src/lib/libssl/d1_srvr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_srvr.c,v 1.77 2017/01/23 08:48:44 beck Exp $ */ | 1 | /* $OpenBSD: d1_srvr.c,v 1.78 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. |
@@ -147,8 +147,6 @@ static const SSL_METHOD DTLSv1_server_method_data = { | |||
147 | .ssl_read_bytes = dtls1_read_bytes, | 147 | .ssl_read_bytes = dtls1_read_bytes, |
148 | .ssl_write_bytes = dtls1_write_app_data_bytes, | 148 | .ssl_write_bytes = dtls1_write_app_data_bytes, |
149 | .ssl_dispatch_alert = dtls1_dispatch_alert, | 149 | .ssl_dispatch_alert = dtls1_dispatch_alert, |
150 | .ssl_ctrl = dtls1_ctrl, | ||
151 | .ssl_ctx_ctrl = ssl3_ctx_ctrl, | ||
152 | .get_cipher_by_char = ssl3_get_cipher_by_char, | 150 | .get_cipher_by_char = ssl3_get_cipher_by_char, |
153 | .put_cipher_by_char = ssl3_put_cipher_by_char, | 151 | .put_cipher_by_char = ssl3_put_cipher_by_char, |
154 | .ssl_pending = ssl3_pending, | 152 | .ssl_pending = ssl3_pending, |
@@ -158,8 +156,6 @@ static const SSL_METHOD DTLSv1_server_method_data = { | |||
158 | .get_timeout = dtls1_default_timeout, | 156 | .get_timeout = dtls1_default_timeout, |
159 | .ssl3_enc = &DTLSv1_enc_data, | 157 | .ssl3_enc = &DTLSv1_enc_data, |
160 | .ssl_version = ssl_undefined_void_function, | 158 | .ssl_version = ssl_undefined_void_function, |
161 | .ssl_callback_ctrl = ssl3_callback_ctrl, | ||
162 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | ||
163 | }; | 159 | }; |
164 | 160 | ||
165 | const SSL_METHOD * | 161 | const SSL_METHOD * |