[Pkg-gnupg-commit] [gnupg2] 31/185: common,g10: Fix typos.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Aug 7 11:55:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit 216f0804c1452c777c0252c36f56e279d18632a2
Author: Justus Winter <justus at g10code.com>
Date:   Tue Jun 6 14:48:01 2017 +0200

    common,g10: Fix typos.
    
    --
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 common/compliance.c | 6 +++---
 g10/sign.c          | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/compliance.c b/common/compliance.c
index 80134d6..14ba097 100644
--- a/common/compliance.c
+++ b/common/compliance.c
@@ -36,7 +36,7 @@
 #include "compliance.h"
 
 /* Return true if ALGO with a key of KEYLENGTH is compliant to the
- * give COMPLIANCE mode.  If KEY is not NULL, various bits of
+ * given COMPLIANCE mode.  If KEY is not NULL, various bits of
  * information will be extracted from it.  If CURVENAME is not NULL, it
  * is assumed to be the already computed.  ALGO may be either an
  * OpenPGP-style pubkey_algo_t, or a gcrypt-style enum gcry_pk_algos,
@@ -139,7 +139,7 @@ gnupg_pk_is_compliant (enum gnupg_compliance_mode compliance, int algo,
 }
 
 
-/* Return true if CIPHER is compliant to the give COMPLIANCE mode.  */
+/* Return true if CIPHER is compliant to the given COMPLIANCE mode.  */
 int
 gnupg_cipher_is_compliant (enum gnupg_compliance_mode compliance, cipher_algo_t cipher)
 {
@@ -166,7 +166,7 @@ gnupg_cipher_is_compliant (enum gnupg_compliance_mode compliance, cipher_algo_t
 }
 
 
-/* Return true if DIGEST is compliant to the give COMPLIANCE mode.  */
+/* Return true if DIGEST is compliant to the given COMPLIANCE mode.  */
 int
 gnupg_digest_is_compliant (enum gnupg_compliance_mode compliance, digest_algo_t digest)
 {
diff --git a/g10/sign.c b/g10/sign.c
index af1a7b6..6b55fff 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -251,7 +251,7 @@ hash_sigversion_to_magic (gcry_md_hd_t md, const PKT_signature *sig)
 
 
 /* Perform the sign operation.  If CACHE_NONCE is given the agent is
-   advised to use that cached passphrase fro the key.  */
+   advised to use that cached passphrase for the key.  */
 static int
 do_sign (ctrl_t ctrl, PKT_public_key *pksk, PKT_signature *sig,
 	 gcry_md_hd_t md, int mdalgo, const char *cache_nonce)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list