aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trust.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-02-16 17:09:22 +0000
committerWerner Koch <[email protected]>2023-02-16 17:10:03 +0000
commit3d094e2bcf6c9ed2cd405623f2dbc6131d04366f (patch)
treedd3091907ba4295934cd57ba5d7761d9427bb349 /g10/trust.c
parentdoc: Put the Unattended Usage of GPG section also into the man page. (diff)
downloadgnupg-3d094e2bcf6c9ed2cd405623f2dbc6131d04366f.tar.gz
gnupg-3d094e2bcf6c9ed2cd405623f2dbc6131d04366f.zip
gpg: New option --add-desig-revoker
* g10/gpg.c (oAddDesigRevoker): New. (opts): Add new option. * g10/options.h (opt): Add field desig_revokers. * g10/keygen.c (get_parameter_idx): New. (get_parameter): Make use of get_parameter_idx. (prepare_desig_revoker): New. (get_parameter_revkey): Add arg idx. (proc_parameter_file): Add designated revokers. (do_generate_keypair): Write all designated revokers.
Diffstat (limited to 'g10/trust.c')
-rw-r--r--g10/trust.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/trust.c b/g10/trust.c
index 9749bd786..f11dfb759 100644
--- a/g10/trust.c
+++ b/g10/trust.c
@@ -59,7 +59,7 @@ register_trusted_key (const char *string)
/* Some users have conf files with entries like
* trusted-key 0x1234567812345678 # foo
* That is obviously wrong. Before fixing bug#1206 trailing garbage
- * on a key specification if was ignored. We detect the above use case
+ * on a key specification was ignored. We detect the above use case
* here and cut off the junk-looking-like-a comment. */
if (strchr (string, '#'))
{