File 0423-Fix-wrong-comma-in-public_key-docs.patch of Package erlang
From c2ea0e2b80eaa6d8f58889af22cdcf7b62e0e3be Mon Sep 17 00:00:00 2001
From: Jan Uhlig <juhlig@hnc-agency.org>
Date: Thu, 3 Jul 2025 15:02:02 +0200
Subject: [PATCH] Fix wrong comma in public_key docs
---
lib/public_key/src/public_key.erl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl
index 9df01c3c25..8cbf45e5f1 100644
--- a/lib/public_key/src/public_key.erl
+++ b/lib/public_key/src/public_key.erl
@@ -1085,7 +1085,7 @@ encrypt_private(PlainText, Key) ->
-doc """
Public-key encryption using the private key.
-See also `crypto:private_encrypt/4`. The key, can besides a standard
+See also `crypto:private_encrypt/4`. The key can, besides a standard
RSA key, be a map specifing the key algorithm `rsa` and a fun to
handle the encryption operation. This may be used for customized the
encryption operation with for instance hardware security modules (HSM)
@@ -1346,7 +1346,7 @@ sign(DigestOrPlainText, DigestType, Key) ->
Creates a digital signature.
The `Msg` is either the binary "plain text" data to be signed or it is the
-hashed value of "plain text", that is, the digest. The key, can besides a
+hashed value of "plain text", that is, the digest. The key can, besides a
standard key, be a map specifing a key algorithm and a fun that should handle
the signing. This may be used for customized signing with for instance hardware
security modules (HSM) or trusted platform modules (TPM).
--
2.43.0