File 1196-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
@@ -115,7 +115,7 @@
 	<c>inet:peername/1</c>, <c>inet:sockname/1</c>, and
 	<c>inet:port/1</c>.  The callback <c>gen_tcp</c> is treated
 	specially and calls <c>inet</c> directly. For DTLS this
-	feature must be considered exprimental.
+	feature must be considered experimental.
 	</p>
       </desc>
     </datatype>
@@ -308,7 +308,7 @@
     <datatype>
       <name name="cert"/>
       <desc>
-	<p>The DER-encoded users certificate. If this option
+	<p>The DER-encoded user certificate. If this option
 	is supplied, it overrides option <c>certfile</c>.</p>
       </desc>
     </datatype>
@@ -337,9 +337,9 @@
     <datatype>
       <name name="key"/>
       <desc>
-	<p>The DER-encoded user's private key or a map refering to a crypto
+	<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
+	see also <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 
 	is supplied, it overrides option <c>keyfile</c>.</p>
       </desc>
@@ -377,7 +377,7 @@
 	sure they are filtered for cryptolib support
 	<seealso
 	    marker="#filter_cipher_suites-2"> ssl:filter_cipher_suites/2 </seealso>
-	Additionaly the functions <seealso
+	Additionally the functions <seealso
 	marker="#append_cipher_suites-2"> ssl:append_cipher_suites/2 </seealso>
 	, <seealso
 	marker="#prepend_cipher_suites-2"> ssl:prepend_cipher_suites/2</seealso>,
@@ -889,7 +888,7 @@ fun(srp, Username :: binary(), UserState :: term()) ->
 
     <datatype>
       <name name="session_tickets"/>
-      <desc><p>Configures the session ticket functionalty in TLS 1.3 client and server. </p>
+      <desc><p>Configures the session ticket functionality in TLS 1.3 client and server. </p>
       </desc>
     </datatype>
 
@@ -1599,7 +1598,7 @@ fun(srp, Username :: binary(), UserState :: term()) ->
       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>
 
 
       <p> If the option <c>{handshake, hello}</c> is used the
@@ -1689,7 +1688,7 @@ fun(srp, Username :: binary(), UserState :: term()) ->
       
       For examples see <seealso marker="ssl:using_ssl#customizing-cipher-suites"> Customizing cipher suites </seealso> 
       
-      Additionaly this function also filters the cipher suites to
+      Additionally, this function also filters the cipher suites to
       exclude cipher suites not supported by the cryptolib used by the
       OTP crypto application. That is calling
       ssl:filter_cipher_suites(Suites, []) will be equivalent to only
@@ -1791,7 +1790,7 @@ fun(srp, Username :: binary(), UserState :: term()) ->
       <name since="OTP 21.0" name="handshake_continue" arity="3" />
       <fsummary>Continue the SSL/TLS handshake.</fsummary>
       <desc>
-        <p>Continue the SSL/TLS handshake possiby with new, additional or changed options.</p>
+        <p>Continue the SSL/TLS handshake, possiby with new, additional or changed options.</p>
       </desc>
     </func>
     
-- 
2.31.1

openSUSE Build Service is sponsored by