File 0969-ssl-Correct-default-value.patch of Package erlang

From e8b14dbb6bcd8be5869b404b5d52d3ae64e7f183 Mon Sep 17 00:00:00 2001
From: Ingela Anderton Andin <ingela@erlang.org>
Date: Fri, 2 Feb 2024 15:17:03 +0100
Subject: [PATCH] ssl: Correct default value

Closes #8079
---
 lib/ssl/src/dtls_record.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ssl/src/dtls_record.erl b/lib/ssl/src/dtls_record.erl
index c0030fe1dc..4e215e520f 100644
--- a/lib/ssl/src/dtls_record.erl
+++ b/lib/ssl/src/dtls_record.erl
@@ -377,7 +377,7 @@ supported_protocol_versions([_|_] = Vsns) ->
 	false ->
 	    case Vsns -- ['dtlsv1.2'] of
 		[] ->
-		    ?MIN_SUPPORTED_VERSIONS;
+		    ?MIN_DATAGRAM_SUPPORTED_VERSIONS;
 		NewVsns ->
 		    NewVsns
 	    end
-- 
2.35.3

openSUSE Build Service is sponsored by