File 4544-ssl-Add-note-regarding-work-arounds-for-some-subtle-.patch of Package erlang

From ed00550031b9a5184b5d54194c8fd3bb86ec3c19 Mon Sep 17 00:00:00 2001
From: Ingela Anderton Andin <ingela@erlang.org>
Date: Mon, 27 Sep 2021 16:47:03 +0200
Subject: [PATCH 4/5] ssl: Add note regarding work arounds for some subtle cert
 ASN-1 decode errors

---
 lib/public_key/doc/src/public_key.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/public_key/doc/src/public_key.xml b/lib/public_key/doc/src/public_key.xml
index a647b7547e..82782731e9 100644
--- a/lib/public_key/doc/src/public_key.xml
+++ b/lib/public_key/doc/src/public_key.xml
@@ -456,7 +456,11 @@
     certificate. This function must be used for encoding certificates or parts of certificates
     that are decoded/created in the <c>otp</c> format, whereas for the plain format this
     function directly calls <c>der_encode/2</c>.</p> 
-  </desc> 
+
+    <note><p>Subtle ASN-1 encoding errors in certificates may be worked around when decoding, this may have the affect that
+    the encoding a certificate back to DER may generate different bytes then the supplied original.</p></note>
+
+  </desc>
   </func>
 
  <func>
-- 
2.31.1

openSUSE Build Service is sponsored by