File 1335-Fix-typos-in-lib-crypto.patch of Package erlang

From 2fbcc5a82a7b742e41fdaef3cdcb1bea18566b3d Mon Sep 17 00:00:00 2001
From: "Kian-Meng, Ang" <kianmeng@cpan.org>
Date: Fri, 17 Dec 2021 17:24:59 +0800
Subject: [PATCH] Fix typos in lib/crypto

---
 lib/crypto/c_src/Makefile.in                   |  2 +-
 lib/crypto/c_src/api_ng.c                      |  4 ++--
 lib/crypto/c_src/dh.c                          |  2 +-
 lib/crypto/c_src/mac.c                         |  4 ++--
 lib/crypto/c_src/openssl_config.h              |  2 +-
 lib/crypto/configure                           |  4 ++--
 lib/crypto/configure.in                        |  2 +-
 lib/crypto/doc/src/algorithm_details.xml       |  4 ++--
 lib/crypto/doc/src/crypto.xml                  | 18 +++++++++---------
 lib/crypto/doc/src/licenses.xml                |  6 +++---
 lib/crypto/doc/src/new_api.xml                 |  4 ++--
 lib/crypto/doc/src/notes.xml                   | 16 ++++++++--------
 lib/crypto/src/crypto.erl                      |  4 ++--
 lib/crypto/test/crypto_SUITE.erl               |  2 +-
 lib/crypto/test/engine_SUITE.erl               | 12 ++++++------
 .../property_test/crypto_prop_generators.erl   |  4 ++--
 16 files changed, 45 insertions(+), 45 deletions(-)

diff --git a/lib/crypto/doc/src/licenses.xml b/lib/crypto/doc/src/licenses.xml
index e5c06cf7ce..e0e1bf629f 100644
--- a/lib/crypto/doc/src/licenses.xml
+++ b/lib/crypto/doc/src/licenses.xml
@@ -103,7 +103,7 @@ This chapter contains in extenso versions
  * The implementation was written so as to conform with Netscapes SSL.
  * 
  * This library is free for commercial and non-commercial use as long as
- * the following conditions are aheared to.  The following conditions
+ * the following conditions are adhered to.  The following conditions
  * apply to all code found in this distribution, be it the RC4, RSA,
  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
  * included with this distribution is covered by the same copyright terms
@@ -128,7 +128,7 @@ This chapter contains in extenso versions
  *    must display the following acknowledgement:
  *    "This product includes cryptographic software written by
  *     Eric Young (eay@cryptsoft.com)"
- *    The word 'cryptographic' can be left out if the rouines from the library
+ *    The word 'cryptographic' can be left out if the routines from the library
  *    being used are not cryptographic related :-).
  * 4. If you include any Windows specific code (or a derivative thereof) from 
  *    the apps directory (application code) you must include an acknowledgement:
@@ -146,7 +146,7 @@ This chapter contains in extenso versions
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  * 
- * The licence and distribution terms for any publically available version or
+ * The licence and distribution terms for any publicly available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
  * [including the GNU Public Licence.]
diff --git a/lib/crypto/doc/src/notes.xml b/lib/crypto/doc/src/notes.xml
index 66d9477f35..e503129511 100644
--- a/lib/crypto/doc/src/notes.xml
+++ b/lib/crypto/doc/src/notes.xml
@@ -1499,7 +1499,7 @@
 	    Own Id: OTP-8551</p>
         </item>
         <item>
-	    <p>The undocumented, unsupport, and deprecated function
+	    <p>The undocumented, unsupported, and deprecated function
 	    <c>lists:flat_length/1</c> has been removed.</p>
           <p>
 	    Own Id: OTP-8584</p>
@@ -1782,7 +1782,7 @@
       <list>
         <item>
           <p>
-	    crypto and zlib drivers improved to allow concurent smp
+	    crypto and zlib drivers improved to allow concurrent smp
 	    access.</p>
           <p>
 	    Own Id: OTP-7262</p>
diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl
index b291f7a420..07f33d18f8 100644
--- a/lib/crypto/src/crypto.erl
+++ b/lib/crypto/src/crypto.erl
@@ -1440,7 +1440,7 @@ format_pwd(M) -> M.
 
 
 %% large integer in a binary with 32bit length
-%% MP representaion  (SSH2)
+%% MP representation  (SSH2)
 mpint(X) when X < 0 -> mpint_neg(X);
 mpint(X) -> mpint_pos(X).
 
-- 
2.31.1

openSUSE Build Service is sponsored by