From: tb Date: Sun, 4 Apr 2021 20:16:29 +0000 (+0000) Subject: Add tests for DTLSv1_2{,_client,_server}_method() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=90a896e3dad296a8be4765433d5d6ee89b107529;p=openbsd Add tests for DTLSv1_2{,_client,_server}_method() --- diff --git a/regress/lib/libssl/unit/ssl_methods.c b/regress/lib/libssl/unit/ssl_methods.c index 163d22c55fe..216ba937e1b 100644 --- a/regress/lib/libssl/unit/ssl_methods.c +++ b/regress/lib/libssl/unit/ssl_methods.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_methods.c,v 1.2 2020/12/01 08:05:06 tb Exp $ */ +/* $OpenBSD: ssl_methods.c,v 1.3 2021/04/04 20:16:29 tb Exp $ */ /* * Copyright (c) 2020 Theo Buehler * @@ -141,6 +141,25 @@ struct ssl_method_test_data ssl_method_tests[] = { .dtls = 1, }, + { + .method = DTLSv1_2_method, + .name = "DTLSv1_2_method", + .server = 1, + .dtls = 1, + }, + { + .method = DTLSv1_2_server_method, + .name = "DTLSv1_2_server_method", + .server = 1, + .dtls = 1, + }, + { + .method = DTLSv1_2_client_method, + .name = "DTLSv1_2_client_method", + .server = 0, + .dtls = 1, + }, + { .method = DTLS_method, .name = "DTLS_method",