From 4e96afcd8aab7bbc0e9ad7f32a9c2dd0dc055a61 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Fri, 3 Apr 2026 07:37:52 +0000 Subject: Use DTLS_client_method() instead of DTLSv1_client_method(). --- src/regress/lib/libssl/tlsext/tlsexttest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/regress/lib/libssl/tlsext/tlsexttest.c b/src/regress/lib/libssl/tlsext/tlsexttest.c index 7a32975629..9c4c0f55a1 100644 --- a/src/regress/lib/libssl/tlsext/tlsexttest.c +++ b/src/regress/lib/libssl/tlsext/tlsexttest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tlsexttest.c,v 1.96 2026/03/30 06:23:33 tb Exp $ */ +/* $OpenBSD: tlsexttest.c,v 1.97 2026/04/03 07:37:52 jsing Exp $ */ /* * Copyright (c) 2017 Joel Sing * Copyright (c) 2017 Doug Hogan @@ -2825,7 +2825,7 @@ test_tlsext_srtp_client(void) errx(1, "Failed to create CBB"); /* SRTP is for DTLS */ - if ((ssl_ctx = SSL_CTX_new(DTLSv1_client_method())) == NULL) + if ((ssl_ctx = SSL_CTX_new(DTLS_client_method())) == NULL) errx(1, "failed to create SSL_CTX"); if ((ssl = SSL_new(ssl_ctx)) == NULL) errx(1, "failed to create SSL"); @@ -3065,7 +3065,7 @@ test_tlsext_srtp_server(void) errx(1, "Failed to create CBB"); /* SRTP is for DTLS */ - if ((ssl_ctx = SSL_CTX_new(DTLSv1_client_method())) == NULL) + if ((ssl_ctx = SSL_CTX_new(DTLS_client_method())) == NULL) errx(1, "failed to create SSL_CTX"); if ((ssl = SSL_new(ssl_ctx)) == NULL) errx(1, "failed to create SSL"); -- cgit v1.2.3-55-g6feb