diff options
Diffstat (limited to '')
-rw-r--r-- | g10/keyserver.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/g10/keyserver.c b/g10/keyserver.c index f20e492fe..9aef56726 100644 --- a/g10/keyserver.c +++ b/g10/keyserver.c @@ -304,18 +304,20 @@ print_keyinfo(int count,char *keystring,KEYDB_SEARCH_DESC *desc) if(flags&2) printf(" (disabled)"); - if(keytype[0]) - printf(" %s",keytype); + printf("\n\t "); if(keysize>0) - printf(" %d",keysize); + printf("%d bit ",keysize); + + if(keytype[0]) + printf("%s ",keytype); - printf("\n\t created %s,",strtimestamp(createtime)); + printf("key %s, created %s",certid,strtimestamp(createtime)); if(expiretime>0) - printf(" expires %s,",strtimestamp(expiretime)); + printf(", expires %s",strtimestamp(expiretime)); - printf(" key %s\n",certid); + printf("\n"); return 0; } @@ -347,7 +349,6 @@ keyserver_spawn(int action,STRLIST list, set_exec_path(GNUPG_LIBEXECDIR,opt.exec_path_set); #endif - /* Build the filename for the helper to execute */ command=m_alloc(strlen("gpgkeys_")+strlen(opt.keyserver_scheme)+1); strcpy(command,"gpgkeys_"); |