From: jsing Date: Sun, 27 Jun 2021 16:54:55 +0000 (+0000) Subject: Improve test coverage for SSL_OP_NO_DTLSv1. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1e0366640ddb8cde256eea4014b64d48847ee31f;p=openbsd Improve test coverage for SSL_OP_NO_DTLSv1. --- diff --git a/regress/lib/libssl/unit/ssl_versions.c b/regress/lib/libssl/unit/ssl_versions.c index 7ddc0e4a4e7..2ca72157ab9 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.14 2021/03/17 17:43:31 jsing Exp $ */ +/* $OpenBSD: ssl_versions.c,v 1.15 2021/06/27 16:54:55 jsing Exp $ */ /* * Copyright (c) 2016, 2017 Joel Sing * @@ -462,6 +462,14 @@ static struct shared_version_test shared_version_tests[] = { .peerver = DTLS1_VERSION, .want_maxver = 0, }, + { + .ssl_method = DTLS_method, + .options = SSL_OP_NO_DTLSv1, + .minver = TLS1_1_VERSION, + .maxver = TLS1_2_VERSION, + .peerver = DTLS1_2_VERSION, + .want_maxver = DTLS1_2_VERSION, + }, { .ssl_method = DTLS_method, .options = SSL_OP_NO_DTLSv1_2,