aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyedit.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-03-15 18:11:32 +0000
committerWerner Koch <[email protected]>2019-03-18 12:13:14 +0000
commitdb2d75f1ffede2ea77163b487a15e60249daffa0 (patch)
treed0acbe5fc1e6bd58622050c292104b0d2e504c93 /g10/keyedit.h
parentgpg: Simplify an interactive import status line. (diff)
downloadgnupg-db2d75f1ffede2ea77163b487a15e60249daffa0.tar.gz
gnupg-db2d75f1ffede2ea77163b487a15e60249daffa0.zip
gpg: During secret key import print "sec" instead of "pub".
* g10/keyedit.c (show_basic_key_info): New arg 'print_sec'. Remove useless code for "sub" and "ssb". * g10/import.c (import_one): Pass FROM_SK to show_basic_key_info. Do not print the first keyinfo in FROM_SK mode. printing. -- Signed-off-by: Werner Koch <[email protected]> (cherry picked from commit f64477db86568bdc28c313bfeb8b95d8edf05a3c)
Diffstat (limited to '')
-rw-r--r--g10/keyedit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keyedit.h b/g10/keyedit.h
index d1f453a6f..af5e99664 100644
--- a/g10/keyedit.h
+++ b/g10/keyedit.h
@@ -50,7 +50,7 @@ void keyedit_quick_set_expire (ctrl_t ctrl,
char **subkeyfprs);
void keyedit_quick_set_primary (ctrl_t ctrl, const char *username,
const char *primaryuid);
-void show_basic_key_info (ctrl_t ctrl, kbnode_t keyblock);
+void show_basic_key_info (ctrl_t ctrl, kbnode_t keyblock, int print_sec);
int keyedit_print_one_sig (ctrl_t ctrl, estream_t fp,
int rc, kbnode_t keyblock,
kbnode_t node, int *inv_sigs, int *no_key,