aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keylist.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-08-31 03:45:41 +0000
committerDavid Shaw <[email protected]>2003-08-31 03:45:41 +0000
commit653da12d2cd8f6bedd411643ac903b8744dae505 (patch)
tree9e007c254ab74ac932ad4ebbe1b10b320baa9426 /g10/keylist.c
parent* gpg.sgml: Document list-options (show-preferred-keyserver, (diff)
downloadgnupg-653da12d2cd8f6bedd411643ac903b8744dae505.tar.gz
gnupg-653da12d2cd8f6bedd411643ac903b8744dae505.zip
* main.h, keygen.c (keygen_add_keyserver_url): Signature callback for
adding a keyserver URL. * keyedit.c (keyedit_menu, menu_set_keyserver_url): New command to set preferred keyserver to specified (or all) user IDs. * build-packet.c (build_sig_subpkt): Set preferred keyserver flag while building a preferred keyserver subpacket. * keylist.c (show_policy_url): Policy URLs might be UTF8. * keyedit.c (menu_addrevoker): Fix leaking a few bytes.
Diffstat (limited to 'g10/keylist.c')
-rw-r--r--g10/keylist.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/g10/keylist.c b/g10/keylist.c
index dace1e742..c5f6bb785 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -174,7 +174,6 @@ show_policy_url(PKT_signature *sig,int indent,int mode)
for(i=0;i<indent;i++)
putchar(' ');
- /* This isn't UTF8 as it is a URL(?) */
if(crit)
str=_("Critical signature policy: ");
else
@@ -183,7 +182,7 @@ show_policy_url(PKT_signature *sig,int indent,int mode)
log_info("%s",str);
else
printf("%s",str);
- print_string(fp,p,len,0);
+ print_utf8_string(fp,p,len);
fprintf(fp,"\n");
}
@@ -216,7 +215,6 @@ show_keyserver_url(PKT_signature *sig,int indent,int mode)
for(i=0;i<indent;i++)
putchar(' ');
- /* This isn't UTF8 as it is a URL(?) */
if(crit)
str=_("Critical preferred keyserver: ");
else
@@ -225,7 +223,7 @@ show_keyserver_url(PKT_signature *sig,int indent,int mode)
log_info("%s",str);
else
printf("%s",str);
- print_string(fp,p,len,0);
+ print_utf8_string(fp,p,len);
fprintf(fp,"\n");
}