summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2020-10-11 02:30:04 +0000
committerjsing <>2020-10-11 02:30:04 +0000
commit016f3d152c7794fc6ca33b907778816d2891be00 (patch)
tree5a6d32da29b3752a34e112670424b3d8cfcedc09 /src
parentde4705827be90015506e4065c5fcaa759a5eeb2e (diff)
downloadopenbsd-016f3d152c7794fc6ca33b907778816d2891be00.tar.gz
openbsd-016f3d152c7794fc6ca33b907778816d2891be00.tar.bz2
openbsd-016f3d152c7794fc6ca33b907778816d2891be00.zip
Update regress for method changes.
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libssl/server/servertest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libssl/server/servertest.c b/src/regress/lib/libssl/server/servertest.c
index 7a0caefc2b..d6f2039af1 100644
--- a/src/regress/lib/libssl/server/servertest.c
+++ b/src/regress/lib/libssl/server/servertest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: servertest.c,v 1.3 2020/05/11 18:18:21 jsing Exp $ */ 1/* $OpenBSD: servertest.c,v 1.4 2020/10/11 02:30:04 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2015, 2016, 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2015, 2016, 2017 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -25,7 +25,7 @@
25#include <stdio.h> 25#include <stdio.h>
26#include <string.h> 26#include <string.h>
27 27
28const SSL_METHOD *tls_legacy_server_method(void); 28const SSL_METHOD *tls_legacy_method(void);
29 29
30char *server_ca_file; 30char *server_ca_file;
31char *server_cert_file; 31char *server_cert_file;
@@ -91,7 +91,7 @@ static struct server_hello_test server_hello_tests[] = {
91 .desc = "TLSv1.0 in SSLv2 record", 91 .desc = "TLSv1.0 in SSLv2 record",
92 .client_hello = sslv2_client_hello_tls10, 92 .client_hello = sslv2_client_hello_tls10,
93 .client_hello_len = sizeof(sslv2_client_hello_tls10), 93 .client_hello_len = sizeof(sslv2_client_hello_tls10),
94 .ssl_method = tls_legacy_server_method, 94 .ssl_method = tls_legacy_method,
95 .ssl_clear_options = SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_1, 95 .ssl_clear_options = SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_1,
96 .ssl_set_options = 0, 96 .ssl_set_options = 0,
97 }, 97 },
@@ -99,7 +99,7 @@ static struct server_hello_test server_hello_tests[] = {
99 .desc = "TLSv1.2 in SSLv2 record", 99 .desc = "TLSv1.2 in SSLv2 record",
100 .client_hello = sslv2_client_hello_tls12, 100 .client_hello = sslv2_client_hello_tls12,
101 .client_hello_len = sizeof(sslv2_client_hello_tls12), 101 .client_hello_len = sizeof(sslv2_client_hello_tls12),
102 .ssl_method = tls_legacy_server_method, 102 .ssl_method = tls_legacy_method,
103 .ssl_clear_options = SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_1, 103 .ssl_clear_options = SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_1,
104 .ssl_set_options = 0, 104 .ssl_set_options = 0,
105 }, 105 },