diff options
author | Werner Koch <[email protected]> | 2020-02-09 23:33:51 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-02-09 23:33:51 +0000 |
commit | fb6ff7ead7dff33541b595f3e8d5342f9c7a6d6c (patch) | |
tree | 69a2c883362dd902ac853259dd5debfb21d8c74b /g10/gpg.c | |
parent | common: Extend the new get_keyalgo_string function (diff) | |
download | gnupg-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |