aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-02-09 23:33:51 +0000
committerWerner Koch <[email protected]>2020-02-09 23:33:51 +0000
commitfb6ff7ead7dff33541b595f3e8d5342f9c7a6d6c (patch)
tree69a2c883362dd902ac853259dd5debfb21d8c74b /g10/gpg.c
parentcommon: Extend the new get_keyalgo_string function (diff)
downloadgnupg-fb6ff7ead7dff33541b595f3e8d5342f9c7a6d6c.tar.gz
gnupg-fb6ff7ead7dff33541b595f3e8d5342f9c7a6d6c.zip
scd:openpgp: Let the genkey function also accept a full keyref.
* scd/app-openpgp.c (send_key_attr): Use log_assert. (do_genkey): Allow prefix. -- It is more uniform to always use full keyref (e.g. "OPENPGP.1") instead of just the key number. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index a095795f7..83524b13c 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2171,7 +2171,7 @@ static struct gnupg_compliance_option compliance_options[] =
static void
set_compliance_option (enum cmd_and_opt_values option)
{
- opt.flags.rfc4880bis = 0; /* Clear becuase it is initially set. */
+ opt.flags.rfc4880bis = 0; /* Clear because it is initially set. */
switch (option)
{