File 1486-ssl-Correct-doc.patch of Package erlang

From 5e4dfbb8f376f4ab47510f6ba163ce6a6bfa9d6e Mon Sep 17 00:00:00 2001
From: Ingela Anderton Andin <ingela@erlang.org>
Date: Wed, 21 Feb 2024 15:15:30 +0100
Subject: [PATCH] ssl: Correct doc

---
 lib/ssl/doc/src/ssl.xml | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml
index 5378b85cef..0f177eb2b2 100644
--- a/lib/ssl/doc/src/ssl.xml
+++ b/lib/ssl/doc/src/ssl.xml
@@ -1740,11 +1740,16 @@ fun(srp, Username :: binary(), UserState :: term()) ->
     
     <func>
       <name name="eccs" arity="0" since="OTP 19.2"/>
+      <fsummary>Returns a list of <em>all</em> supported elliptic curves, including legacy curves, for all TLS/DTLS versions pre TLS-1.3.</fsummary>
+      <desc><p>Returns a list of <em>all</em> supported elliptic curves, including legacy curves, for all TLS/DTLS versions pre TLS-1.3.</p>
+      </desc>
+    </func>
+
+    <func>
       <name name="eccs" arity="1" since="OTP 19.2"/>
-      <fsummary>Returns a list of supported ECCs.</fsummary>
-      <desc><p>Returns a list of supported ECCs. <c>eccs()</c>
-      is equivalent to calling <c>eccs(Protocol)</c> with all
-      supported protocols and then deduplicating the output.</p>
+      <fsummary>Returns the by <em>default</em> supported elliptic curves for <c>Version</c>, which is a subset of what eccs/0 returns.</fsummary>
+      <desc><p>Returns the by <em>default</em> supported elliptic curves for <c>Version</c>, which is a subset of what
+      <seemfa marker="#eccs/0"><c>eccs/0</c></seemfa> returns.</p>
       </desc>
     </func>
     
-- 
2.35.3

openSUSE Build Service is sponsored by