summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2021-06-27 16:54:55 +0000
committerjsing <>2021-06-27 16:54:55 +0000
commit36dda8114683b87ccffbc0e788c0af7f07909411 (patch)
tree0b757a9c44770e0f05ef16a42f9398f39203523c
parent4404df9dd9e200b2608ac9cfdfa13dcba0eedb73 (diff)
downloadopenbsd-36dda8114683b87ccffbc0e788c0af7f07909411.tar.gz
openbsd-36dda8114683b87ccffbc0e788c0af7f07909411.tar.bz2
openbsd-36dda8114683b87ccffbc0e788c0af7f07909411.zip
Improve test coverage for SSL_OP_NO_DTLSv1.
-rw-r--r--src/regress/lib/libssl/unit/ssl_versions.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/regress/lib/libssl/unit/ssl_versions.c b/src/regress/lib/libssl/unit/ssl_versions.c
index 7ddc0e4a4e..2ca72157ab 100644
--- a/src/regress/lib/libssl/unit/ssl_versions.c
+++ b/src/regress/lib/libssl/unit/ssl_versions.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_versions.c,v 1.14 2021/03/17 17:43:31 jsing Exp $ */ 1/* $OpenBSD: ssl_versions.c,v 1.15 2021/06/27 16:54:55 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -464,6 +464,14 @@ static struct shared_version_test shared_version_tests[] = {
464 }, 464 },
465 { 465 {
466 .ssl_method = DTLS_method, 466 .ssl_method = DTLS_method,
467 .options = SSL_OP_NO_DTLSv1,
468 .minver = TLS1_1_VERSION,
469 .maxver = TLS1_2_VERSION,
470 .peerver = DTLS1_2_VERSION,
471 .want_maxver = DTLS1_2_VERSION,
472 },
473 {
474 .ssl_method = DTLS_method,
467 .options = SSL_OP_NO_DTLSv1_2, 475 .options = SSL_OP_NO_DTLSv1_2,
468 .minver = TLS1_1_VERSION, 476 .minver = TLS1_1_VERSION,
469 .maxver = TLS1_2_VERSION, 477 .maxver = TLS1_2_VERSION,