diff options
author | jsing <> | 2021-06-27 16:54:55 +0000 |
---|---|---|
committer | jsing <> | 2021-06-27 16:54:55 +0000 |
commit | d45b9e73fb482b1b4b217864570c29e250d2f7ea (patch) | |
tree | 0b757a9c44770e0f05ef16a42f9398f39203523c | |
parent | 33abfd8dd82d32943832cfb605ff548b4516ae04 (diff) | |
download | openbsd-d45b9e73fb482b1b4b217864570c29e250d2f7ea.tar.gz openbsd-d45b9e73fb482b1b4b217864570c29e250d2f7ea.tar.bz2 openbsd-d45b9e73fb482b1b4b217864570c29e250d2f7ea.zip |
Improve test coverage for SSL_OP_NO_DTLSv1.
-rw-r--r-- | src/regress/lib/libssl/unit/ssl_versions.c | 10 |
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, |