diff options
author | jsing <> | 2018-08-30 16:56:16 +0000 |
---|---|---|
committer | jsing <> | 2018-08-30 16:56:16 +0000 |
commit | aa46916ffff53f4d8fa6bd701c96da70c82b1547 (patch) | |
tree | 031b7e3310063f352295a693ac1da2c62ad5d8f1 /src/lib/libssl/t1_srvr.c | |
parent | 6f960c595dec72229260d0e58fb8c9de5a26062e (diff) | |
download | openbsd-aa46916ffff53f4d8fa6bd701c96da70c82b1547.tar.gz openbsd-aa46916ffff53f4d8fa6bd701c96da70c82b1547.tar.bz2 openbsd-aa46916ffff53f4d8fa6bd701c96da70c82b1547.zip |
Nuke ssl_pending/ssl_shutdown function pointers.
ssl3_pending() is used for all protocols and dtls1_shutdown() just calls
ssl3_shutdown(), so just call the appropriate function directly instead.
ok beck@ inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/t1_srvr.c')
-rw-r--r-- | src/lib/libssl/t1_srvr.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libssl/t1_srvr.c b/src/lib/libssl/t1_srvr.c index c8b65086dc..02c5cf46ae 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.26 2018/04/07 17:02:34 jsing Exp $ */ | 1 | /* $OpenBSD: t1_srvr.c,v 1.27 2018/08/30 16:56:16 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 | * |
@@ -74,8 +74,6 @@ static const SSL_METHOD_INTERNAL TLS_server_method_internal_data = { | |||
74 | .ssl_free = tls1_free, | 74 | .ssl_free = tls1_free, |
75 | .ssl_accept = ssl3_accept, | 75 | .ssl_accept = ssl3_accept, |
76 | .ssl_connect = ssl_undefined_function, | 76 | .ssl_connect = ssl_undefined_function, |
77 | .ssl_shutdown = ssl3_shutdown, | ||
78 | .ssl_pending = ssl3_pending, | ||
79 | .get_ssl_method = tls1_get_server_method, | 77 | .get_ssl_method = tls1_get_server_method, |
80 | .get_timeout = tls1_default_timeout, | 78 | .get_timeout = tls1_default_timeout, |
81 | .ssl_version = ssl_undefined_void_function, | 79 | .ssl_version = ssl_undefined_void_function, |
@@ -105,8 +103,6 @@ static const SSL_METHOD_INTERNAL TLSv1_server_method_internal_data = { | |||
105 | .ssl_free = tls1_free, | 103 | .ssl_free = tls1_free, |
106 | .ssl_accept = ssl3_accept, | 104 | .ssl_accept = ssl3_accept, |
107 | .ssl_connect = ssl_undefined_function, | 105 | .ssl_connect = ssl_undefined_function, |
108 | .ssl_shutdown = ssl3_shutdown, | ||
109 | .ssl_pending = ssl3_pending, | ||
110 | .get_ssl_method = tls1_get_server_method, | 106 | .get_ssl_method = tls1_get_server_method, |
111 | .get_timeout = tls1_default_timeout, | 107 | .get_timeout = tls1_default_timeout, |
112 | .ssl_version = ssl_undefined_void_function, | 108 | .ssl_version = ssl_undefined_void_function, |
@@ -136,8 +132,6 @@ static const SSL_METHOD_INTERNAL TLSv1_1_server_method_internal_data = { | |||
136 | .ssl_free = tls1_free, | 132 | .ssl_free = tls1_free, |
137 | .ssl_accept = ssl3_accept, | 133 | .ssl_accept = ssl3_accept, |
138 | .ssl_connect = ssl_undefined_function, | 134 | .ssl_connect = ssl_undefined_function, |
139 | .ssl_shutdown = ssl3_shutdown, | ||
140 | .ssl_pending = ssl3_pending, | ||
141 | .get_ssl_method = tls1_get_server_method, | 135 | .get_ssl_method = tls1_get_server_method, |
142 | .get_timeout = tls1_default_timeout, | 136 | .get_timeout = tls1_default_timeout, |
143 | .ssl_version = ssl_undefined_void_function, | 137 | .ssl_version = ssl_undefined_void_function, |
@@ -167,8 +161,6 @@ static const SSL_METHOD_INTERNAL TLSv1_2_server_method_internal_data = { | |||
167 | .ssl_free = tls1_free, | 161 | .ssl_free = tls1_free, |
168 | .ssl_accept = ssl3_accept, | 162 | .ssl_accept = ssl3_accept, |
169 | .ssl_connect = ssl_undefined_function, | 163 | .ssl_connect = ssl_undefined_function, |
170 | .ssl_shutdown = ssl3_shutdown, | ||
171 | .ssl_pending = ssl3_pending, | ||
172 | .get_ssl_method = tls1_get_server_method, | 164 | .get_ssl_method = tls1_get_server_method, |
173 | .get_timeout = tls1_default_timeout, | 165 | .get_timeout = tls1_default_timeout, |
174 | .ssl_version = ssl_undefined_void_function, | 166 | .ssl_version = ssl_undefined_void_function, |