summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_methods.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_methods.c')
-rw-r--r--src/lib/libssl/ssl_methods.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libssl/ssl_methods.c b/src/lib/libssl/ssl_methods.c
index 23c7e97b57..e2d5766e0f 100644
--- a/src/lib/libssl/ssl_methods.c
+++ b/src/lib/libssl/ssl_methods.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_methods.c,v 1.18 2020/10/11 02:22:27 jsing Exp $ */ 1/* $OpenBSD: ssl_methods.c,v 1.19 2020/10/11 12:45:52 guenther 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,7 +74,7 @@ static const SSL_METHOD_INTERNAL DTLSv1_method_internal_data = {
74 .ssl_pending = ssl3_pending, 74 .ssl_pending = ssl3_pending,
75 .ssl_read_bytes = dtls1_read_bytes, 75 .ssl_read_bytes = dtls1_read_bytes,
76 .ssl_write_bytes = dtls1_write_app_data_bytes, 76 .ssl_write_bytes = dtls1_write_app_data_bytes,
77 .ssl3_enc = &TLSv1_1_enc_data, 77 .enc_flags = TLSV1_1_ENC_FLAGS,
78}; 78};
79 79
80static const SSL_METHOD DTLSv1_method_data = { 80static const SSL_METHOD DTLSv1_method_data = {
@@ -138,7 +138,7 @@ static const SSL_METHOD_INTERNAL TLS_method_internal_data = {
138 .ssl_pending = tls13_legacy_pending, 138 .ssl_pending = tls13_legacy_pending,
139 .ssl_read_bytes = tls13_legacy_read_bytes, 139 .ssl_read_bytes = tls13_legacy_read_bytes,
140 .ssl_write_bytes = tls13_legacy_write_bytes, 140 .ssl_write_bytes = tls13_legacy_write_bytes,
141 .ssl3_enc = &TLSv1_3_enc_data, 141 .enc_flags = TLSV1_3_ENC_FLAGS,
142}; 142};
143 143
144static const SSL_METHOD TLS_method_data = { 144static const SSL_METHOD TLS_method_data = {
@@ -166,7 +166,7 @@ static const SSL_METHOD_INTERNAL TLS_legacy_method_internal_data = {
166 .ssl_pending = ssl3_pending, 166 .ssl_pending = ssl3_pending,
167 .ssl_read_bytes = ssl3_read_bytes, 167 .ssl_read_bytes = ssl3_read_bytes,
168 .ssl_write_bytes = ssl3_write_bytes, 168 .ssl_write_bytes = ssl3_write_bytes,
169 .ssl3_enc = &TLSv1_2_enc_data, 169 .enc_flags = TLSV1_2_ENC_FLAGS,
170}; 170};
171 171
172static const SSL_METHOD TLS_legacy_method_data = { 172static const SSL_METHOD TLS_legacy_method_data = {
@@ -193,7 +193,7 @@ static const SSL_METHOD_INTERNAL TLSv1_method_internal_data = {
193 .ssl_pending = ssl3_pending, 193 .ssl_pending = ssl3_pending,
194 .ssl_read_bytes = ssl3_read_bytes, 194 .ssl_read_bytes = ssl3_read_bytes,
195 .ssl_write_bytes = ssl3_write_bytes, 195 .ssl_write_bytes = ssl3_write_bytes,
196 .ssl3_enc = &TLSv1_enc_data, 196 .enc_flags = TLSV1_ENC_FLAGS,
197}; 197};
198 198
199static const SSL_METHOD TLSv1_method_data = { 199static const SSL_METHOD TLSv1_method_data = {
@@ -220,7 +220,7 @@ static const SSL_METHOD_INTERNAL TLSv1_1_method_internal_data = {
220 .ssl_pending = ssl3_pending, 220 .ssl_pending = ssl3_pending,
221 .ssl_read_bytes = ssl3_read_bytes, 221 .ssl_read_bytes = ssl3_read_bytes,
222 .ssl_write_bytes = ssl3_write_bytes, 222 .ssl_write_bytes = ssl3_write_bytes,
223 .ssl3_enc = &TLSv1_1_enc_data, 223 .enc_flags = TLSV1_1_ENC_FLAGS,
224}; 224};
225 225
226static const SSL_METHOD TLSv1_1_method_data = { 226static const SSL_METHOD TLSv1_1_method_data = {
@@ -247,7 +247,7 @@ static const SSL_METHOD_INTERNAL TLSv1_2_method_internal_data = {
247 .ssl_pending = ssl3_pending, 247 .ssl_pending = ssl3_pending,
248 .ssl_read_bytes = ssl3_read_bytes, 248 .ssl_read_bytes = ssl3_read_bytes,
249 .ssl_write_bytes = ssl3_write_bytes, 249 .ssl_write_bytes = ssl3_write_bytes,
250 .ssl3_enc = &TLSv1_2_enc_data, 250 .enc_flags = TLSV1_2_ENC_FLAGS,
251}; 251};
252 252
253static const SSL_METHOD TLSv1_2_method_data = { 253static const SSL_METHOD TLSv1_2_method_data = {