File 1276-chg-pubkey-md2-bug.patch of Package erlang

From e7ecbe9586c70a6e5fa3aaafed44bb8f5f1f7e96 Mon Sep 17 00:00:00 2001
From: Jean-Louis Huynen <huynenjl@gmail.com>
Date: Tue, 22 Apr 2025 14:24:03 +0200
Subject: [PATCH 1/5] chg: [:pubkey] md2 bug

---
 lib/public_key/src/public_key.erl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl
index af359c5394..9b0854346f 100644
--- a/lib/public_key/src/public_key.erl
+++ b/lib/public_key/src/public_key.erl
@@ -1133,6 +1133,8 @@ pkix_sign_types(?sha384WithRSAEncryption) ->
     {sha384, rsa};
 pkix_sign_types(?sha512WithRSAEncryption) ->
     {sha512, rsa};
+pkix_sign_types(?md2WithRSAEncryption) ->
+    {md2, rsa};
 pkix_sign_types(?md5WithRSAEncryption) ->
     {md5, rsa};
 pkix_sign_types(?'id-dsa-with-sha1') ->
-- 
2.43.0

openSUSE Build Service is sponsored by