aboutsummaryrefslogtreecommitdiffstats
path: root/sm/certlist.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-12-16 16:31:16 +0000
committerWerner Koch <[email protected]>2003-12-16 16:31:16 +0000
commita41d45af627c7d9cc66d581ea18521a73fc2660e (patch)
tree7bb07d5f57e6c0e1af4b286211f8144508bddab1 /sm/certlist.c
parent(main): Set the prefixes for assuan logging. (diff)
downloadgnupg-a41d45af627c7d9cc66d581ea18521a73fc2660e.tar.gz
gnupg-a41d45af627c7d9cc66d581ea18521a73fc2660e.zip
* gpgsm.c (main): Set the prefixes for assuan logging.
* sign.c (gpgsm_sign): Add validation checks for the default certificate. * gpgsm.c: Add -k as alias for --list-keys and -K for --list-secret-keys.
Diffstat (limited to 'sm/certlist.c')
-rw-r--r--sm/certlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/certlist.c b/sm/certlist.c
index 0dfe50e04..9eb3e7cfa 100644
--- a/sm/certlist.c
+++ b/sm/certlist.c
@@ -135,7 +135,7 @@ same_subject_issuer (const char *subject, const char *issuer, KsbaCert cert)
/* Add a certificate to a list of certificate and make sure that it is
a valid certificate. With SECRET set to true a secret key must be
- avaibale for the certificate. */
+ available for the certificate. */
int
gpgsm_add_to_certlist (CTRL ctrl, const char *name, int secret,
CERTLIST *listaddr)
@@ -190,7 +190,7 @@ gpgsm_add_to_certlist (CTRL ctrl, const char *name, int secret,
}
}
- /* we want the error code from the first match in this case */
+ /* We want the error code from the first match in this case. */
if (rc && wrong_usage)
rc = wrong_usage;