diff options
author | Werner Koch <[email protected]> | 2016-06-23 17:22:13 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-06-23 18:01:15 +0000 |
commit | 09c6f7135150efbbeb459d4ae0189a81e9d180f8 (patch) | |
tree | ed52ffe7eaf2879c65b21d7960a4560b80f22cb6 /g10/main.h | |
parent | common: Fix possible small memory leak in b64dec.c. (diff) | |
download | gnupg-09c6f7135150efbbeb459d4ae0189a81e9d180f8.tar.gz gnupg-09c6f7135150efbbeb459d4ae0189a81e9d180f8.zip |
gpg: Do not print the validity after key generation.
* g10/keylist.c (struct keylist_context): Add field NO_VALIDITY.
(list_keyblock_print): Take care of it.
(list_keyblock_direct): Add arg NO_VALIDITY.
* g10/keygen.c (do_generate_keypair): Merge keyblock and print w/o
validity.
--
It will always be ultimate and by not printing it we avoid a lot of
garbage output due to the trustdb re-calculation.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/main.h')
-rw-r--r-- | g10/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/main.h b/g10/main.h index 7b716ffd6..e6f20700a 100644 --- a/g10/main.h +++ b/g10/main.h @@ -415,7 +415,7 @@ void secret_key_list (ctrl_t ctrl, strlist_t list ); void print_subpackets_colon(PKT_signature *sig); void reorder_keyblock (KBNODE keyblock); void list_keyblock_direct (ctrl_t ctrl, kbnode_t keyblock, int secret, - int has_secret, int fpr); + int has_secret, int fpr, int no_validity); void print_fingerprint (estream_t fp, PKT_public_key *pk, int mode); void print_revokers (estream_t fp, PKT_public_key *pk); void show_policy_url(PKT_signature *sig,int indent,int mode); |