[PATCH] sm/certreqgen-ui.c
NIIBE Yutaka
gniibe at fsij.org
Thu Apr 26 02:55:48 CEST 2012
Hello,
While trying to use gpgsm --gen-key, I found two mistakes.
diff --git a/sm/certreqgen-ui.c b/sm/certreqgen-ui.c
index 236d53b..41492f5 100644
--- a/sm/certreqgen-ui.c
+++ b/sm/certreqgen-ui.c
@@ -339,12 +339,12 @@ gpgsm_gencertreq_tty (ctrl_t ctrl, estream_t output_stream)
/* DNS names. */
tty_printf (_("Enter DNS names"));
tty_printf (_(" (optional; end with an empty line):\n"));
- ask_mb_lines (&mb_email, "Name-DNS: ");
+ ask_mb_lines (&mb_dns, "Name-DNS: ");
/* URIs. */
tty_printf (_("Enter URIs"));
tty_printf (_(" (optional; end with an empty line):\n"));
- ask_mb_lines (&mb_email, "Name-URI: ");
+ ask_mb_lines (&mb_uri, "Name-URI: ");
/* Want a self-signed certificate? */
More information about the Gnupg-devel
mailing list