summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-11-19 10:31:49 +0100
committerWerner Koch <wk@gnupg.org>2014-11-19 10:47:57 +0100
commit592faa7dc4692e0814a9cc93f8b1c0cc2598704f (patch)
tree82281fb87b143fe43c4a8b7e9483857905b58a97
parentAdd "gpgconf --kill dirmngr" and avoid useless launch before a kill. (diff)
downloadgnupg2-592faa7dc4692e0814a9cc93f8b1c0cc2598704f.tar.xz
gnupg2-592faa7dc4692e0814a9cc93f8b1c0cc2598704f.zip
Comment typo fixes.
--
-rw-r--r--g10/card-util.c4
-rw-r--r--g10/passphrase.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/g10/card-util.c b/g10/card-util.c
index 37fa9a672..3d5c43c3e 100644
--- a/g10/card-util.c
+++ b/g10/card-util.c
@@ -215,8 +215,8 @@ get_manufacturer (unsigned int no)
case 0xF517: return "FSIJ";
- /* 0x00000 and 0xFFFF are defined as test cards per spec,
- 0xFFF00 to 0xFFFE are assigned for use with randomly created
+ /* 0x0000 and 0xFFFF are defined as test cards per spec,
+ 0xFF00 to 0xFFFE are assigned for use with randomly created
serial numbers. */
case 0x0000:
case 0xffff: return "test card";
diff --git a/g10/passphrase.c b/g10/passphrase.c
index 4d0fda634..08984eff9 100644
--- a/g10/passphrase.c
+++ b/g10/passphrase.c
@@ -395,7 +395,7 @@ passphrase_clear_cache ( u32 *keyid, const char *cacheid, int algo )
}
-/* Return a new DEK object Using the string-to-key sepcifier S2K. Use
+/* Return a new DEK object using the string-to-key specifier S2K. Use
KEYID and PUBKEY_ALGO to prompt the user. Returns NULL is the user
selected to cancel the passphrase entry and if CANCELED is not
NULL, sets it to true.