File 1506-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>
@@ -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
@@ -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