diff options
-rw-r--r-- | g10/ChangeLog | 2 | ||||
-rw-r--r-- | g10/keylist.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog index b6baa6b1e..d6f8be789 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,5 +1,7 @@ 2003-08-30 David Shaw <[email protected]> + * keylist.c (show_policy_url): Policy URLs might be UTF8. + * keyedit.c (menu_addrevoker): Fix leaking a few bytes. 2003-08-28 David Shaw <[email protected]> diff --git a/g10/keylist.c b/g10/keylist.c index ec19dfd7e..7f2845422 100644 --- a/g10/keylist.c +++ b/g10/keylist.c @@ -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"); } } |