summaryrefslogtreecommitdiff
path: root/regress/lib/libssl/unit
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2021-02-25 17:07:53 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2021-02-25 17:07:53 +0000
commitfb8899a43c2fec75255c55d2d77b25753e9f7d4f (patch)
treed96c1a9aa2180404bada24e5013cef45759f1d9d /regress/lib/libssl/unit
parent52e23884c1ecc804a52fd5a464570538cd9f4bfb (diff)
Update regress to match TLS versions change.
Diffstat (limited to 'regress/lib/libssl/unit')
-rw-r--r--regress/lib/libssl/unit/ssl_versions.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/regress/lib/libssl/unit/ssl_versions.c b/regress/lib/libssl/unit/ssl_versions.c
index 40e026c0c46..d8a3f5ba6f7 100644
--- a/regress/lib/libssl/unit/ssl_versions.c
+++ b/regress/lib/libssl/unit/ssl_versions.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_versions.c,v 1.11 2021/02/20 09:45:14 jsing Exp $ */
+/* $OpenBSD: ssl_versions.c,v 1.12 2021/02/25 17:07:52 jsing Exp $ */
/*
* Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org>
*
@@ -214,10 +214,10 @@ test_ssl_enabled_version_range(void)
SSL_set_options(ssl, vrt->options);
minver = maxver = 0xffff;
- ssl->internal->min_version = vrt->minver;
- ssl->internal->max_version = vrt->maxver;
+ ssl->internal->min_tls_version = vrt->minver;
+ ssl->internal->max_tls_version = vrt->maxver;
- if (ssl_enabled_version_range(ssl, &minver, &maxver) != 1) {
+ if (ssl_enabled_tls_version_range(ssl, &minver, &maxver) != 1) {
if (vrt->want_minver != 0 || vrt->want_maxver != 0) {
fprintf(stderr, "FAIL: test %zu - failed but "
"wanted non-zero versions\n", i);
@@ -458,8 +458,8 @@ test_ssl_max_shared_version(void)
SSL_set_options(ssl, svt->options);
maxver = 0;
- ssl->internal->min_version = svt->minver;
- ssl->internal->max_version = svt->maxver;
+ ssl->internal->min_tls_version = svt->minver;
+ ssl->internal->max_tls_version = svt->maxver;
if (ssl_max_shared_version(ssl, svt->peerver, &maxver) != 1) {
if (svt->want_maxver != 0) {