File 1517-Fix-typos.patch of Package erlang

From 2f5a007408443efe0b762d0935e0593b367508ba Mon Sep 17 00:00:00 2001
From: Gustaw Lippa <gustaw.lippa@erlang-solutions.com>
Date: Wed, 15 Dec 2021 11:05:52 +0100
Subject: [PATCH] Fix typos

---
 lib/ssl/doc/src/ssl.xml | 31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml
index 846e42f0ee..175ebb1b86 100644
--- a/lib/ssl/doc/src/ssl.xml
+++ b/lib/ssl/doc/src/ssl.xml
@@ -206,7 +206,7 @@
       experimental in this release. DTLS over other transports than UDP are not yet supported.</p></item>
 
       <tag><c>{cert, public_key:der_encoded()}</c></tag>
-      <item><p>The DER-encoded users certificate. If this option
+      <item><p>The DER-encoded user certificate. If this option
       is supplied, it overrides option <c>certfile</c>.</p></item>
       
       <tag><c>{certfile, path()}</c></tag>
@@ -217,7 +217,7 @@
 	<c>{key, {'RSAPrivateKey'| 'DSAPrivateKey' | 'ECPrivateKey'
       |'PrivateKeyInfo', public_key:der_encoded()} |  #{algorithm := rsa | dss | ecdsa,
 	engine := crypto:engine_ref(), key_id :=  crypto:key_id(), password => crypto:password()}</c></tag>
-      <item><p>The DER-encoded user's private key or a map refering to a crypto
+      <item><p>The DER-encoded user's private key or a map referring to a crypto
       engine and its key reference that optionally can be password protected,
       seealso <seealso marker="crypto:crypto#engine_load-4"> crypto:engine_load/4
       </seealso> and  <seealso marker="crypto:engine_load"> Crypto's Users Guide</seealso>. If this option 
@@ -966,7 +966,7 @@ fun(srp, Username :: string(), UserState
       argument is an <c>inet:ip_address()</c> the <c>ReferenceID</c> used for the check will be <c>{ip, Host}</c> otherwise
       <c>dns_id</c> will be assumed with a fallback to <c>ip</c> if that fails. </p>
       <note><p>According to good practices certificates should not use IP-addresses as "server names". It would
-      be very surprising if this happen outside a closed network. </p></note> 
+      be very surprising if this happened outside a closed network. </p></note> 
       </desc>
     </func>
 
-- 
2.31.1

openSUSE Build Service is sponsored by