diff options
author | David Shaw <[email protected]> | 2003-08-31 03:37:17 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-08-31 03:37:17 +0000 |
commit | 33f0c465713a62300ff5a6dee5764b21e64b5aef (patch) | |
tree | ecf657c1eab75c1a6aa3507fcabcf012d82f73d3 | |
parent | * keyedit.c (menu_addrevoker): Fix leaking a few bytes. (diff) | |
download | gnupg-33f0c465713a62300ff5a6dee5764b21e64b5aef.tar.gz gnupg-33f0c465713a62300ff5a6dee5764b21e64b5aef.zip |
* keylist.c (show_policy_url): Policy URLs might be UTF8.
-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"); } } |