1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-12 21:58:50 +01:00

* keylist.c (show_policy_url): Policy URLs might be UTF8.

This commit is contained in:
David Shaw 2003-08-31 03:37:17 +00:00
parent eb5309d0bc
commit 33f0c46571
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2003-08-30 David Shaw <dshaw@jabberwocky.com>
* keylist.c (show_policy_url): Policy URLs might be UTF8.
* keyedit.c (menu_addrevoker): Fix leaking a few bytes.
2003-08-28 David Shaw <dshaw@jabberwocky.com>

View File

@ -107,12 +107,11 @@ show_policy_url(PKT_signature *sig,int indent)
for(i=0;i<indent;i++)
putchar(' ');
/* This isn't UTF8 as it is a URL(?) */
if(crit)
printf(_("Critical signature policy: "));
else
printf(_("Signature policy: "));
print_string(stdout,p,len,0);
print_utf8_string(stdout,p,len);
printf("\n");
}
}