diff options
author | Neal H. Walfield <neal@g10code.com> | 2015-11-17 11:47:43 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@g10code.com> | 2015-11-17 14:53:00 +0100 |
commit | a052c30d31c0f6b532fea081f4a9bee083f5440f (patch) | |
tree | 178be09139d0af5118e957d468e4497acc6ee838 /g10/options.h | |
parent | gpg: Use a more appropriate error code. (diff) | |
download | gnupg2-a052c30d31c0f6b532fea081f4a9bee083f5440f.tar.xz gnupg2-a052c30d31c0f6b532fea081f4a9bee083f5440f.zip |
gpg: Add function format_keyid.
* g10/options.h (opt.keyid_format): Add new value KF_DEFAULT.
* g10/keyid.c (format_keyid): New function.
(keystr): Use it.
--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
Diffstat (limited to 'g10/options.h')
-rw-r--r-- | g10/options.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/options.h b/g10/options.h index 6fca714dd..0bb2aaee6 100644 --- a/g10/options.h +++ b/g10/options.h @@ -136,7 +136,7 @@ struct } compliance; enum { - KF_SHORT, KF_LONG, KF_0xSHORT, KF_0xLONG + KF_DEFAULT, KF_SHORT, KF_LONG, KF_0xSHORT, KF_0xLONG } keyid_format; int shm_coprocess; const char *set_filename; |