* gpg.c (main): Properly handle UTF8 usernames with --sign-key and --lsign-key.
authorDavid Shaw <dshaw@jabberwocky.com>
Sun, 21 Dec 2008 16:57:33 +0000 (16:57 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Sun, 21 Dec 2008 16:57:33 +0000 (16:57 +0000)
g10/ChangeLog
g10/gpg.c

index 0ac894f..55fe2f9 100644 (file)
@@ -1,3 +1,8 @@
+2008-12-21  David Shaw  <dshaw@jabberwocky.com>
+
+       * gpg.c (main): Properly handle UTF8 usernames with --sign-key and
+       --lsign-key.
+
 2008-12-11  Werner Koch  <wk@g10code.com>
 
        * sig-check.c (check_revocation_keys): Close message digest.
index ded952e..730899c 100644 (file)
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -3539,7 +3539,7 @@ main (int argc, char **argv )
 
        append_to_strlist( &sl, "save" );
        username = make_username( fname );
-       keyedit_menu(fname, locusr, sl, 0, 0 );
+       keyedit_menu(username, locusr, sl, 0, 0 );
        xfree(username);
        free_strlist(sl);
        break;