diff options
author | Werner Koch <[email protected]> | 2002-05-21 19:20:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-05-21 19:20:40 +0000 |
commit | ad6abe791319e730f446f546d4d3552412fa5b9c (patch) | |
tree | 04a41599ec83d402d23162867c76896333e8adad /sm/gpgsm.c | |
parent | * import.c (gpgsm_import): Try to identify the type of input and (diff) | |
download | gnupg-ad6abe791319e730f446f546d4d3552412fa5b9c.tar.gz gnupg-ad6abe791319e730f446f546d4d3552412fa5b9c.zip |
* keylist.c (list_internal_keys): Renamed from gpgsm_list_keys.
(list_external_keys): New.
(gpgsm_list_keys): Dispatcher for above.
* call-dirmngr.c (lookup_cb,pattern_from_strlist)
(gpgsm_dirmngr_lookup): New.
* server.c (option_handler): Handle new option --list-mode.
(do_listkeys): Handle options and actually use the mode argument.
(get_status_string): New code TRUNCATED.
Diffstat (limited to 'sm/gpgsm.c')
-rw-r--r-- | sm/gpgsm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c index b5b144afe..83de50edb 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -1182,14 +1182,14 @@ main ( int argc, char **argv) case aListKeys: for (sl=NULL; argc; argc--, argv++) add_to_strlist (&sl, *argv); - gpgsm_list_keys (&ctrl, sl, stdout, 0); + gpgsm_list_keys (&ctrl, sl, stdout, (0 | (1<<6))); free_strlist(sl); break; case aListSecretKeys: for (sl=NULL; argc; argc--, argv++) add_to_strlist (&sl, *argv); - gpgsm_list_keys (&ctrl, sl, stdout, 2); + gpgsm_list_keys (&ctrl, sl, stdout, (2 | (1<<6))); free_strlist(sl); break; |