]> granicus.if.org Git - mutt/commitdiff
A fix from Ulf Erikson, which he says to fix bug #989.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 21 Jan 2002 12:34:27 +0000 (12:34 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 21 Jan 2002 12:34:27 +0000 (12:34 +0000)
mutt_ssl.c

index 5eee5ad5a8e43aa5dc1bcd40a51a803f2cfef4eb..e9c2200da4882f53239a1d4eda235f925e995f59 100644 (file)
@@ -576,7 +576,8 @@ static int ssl_check_certificate (sslsockdata * data)
     menu->dialog[i] = (char *) safe_calloc (1, SHORT_STRING * sizeof (char));
 
   row = 0;
-  strfcpy (menu->dialog[row++], _("This certificate belongs to:"), SHORT_STRING);
+  strfcpy (menu->dialog[row], _("This certificate belongs to:"), SHORT_STRING);
+  row++;
   name = X509_NAME_oneline (X509_get_subject_name (data->cert),
                            buf, sizeof (buf));
   for (i = 0; i < 5; i++)
@@ -586,7 +587,8 @@ static int ssl_check_certificate (sslsockdata * data)
   }
 
   row++;
-  strfcpy (menu->dialog[row++], _("This certificate was issued by:"), SHORT_STRING);
+  strfcpy (menu->dialog[row], _("This certificate was issued by:"), SHORT_STRING);
+  row++;
   name = X509_NAME_oneline (X509_get_issuer_name (data->cert),
                            buf, sizeof (buf));
   for (i = 0; i < 5; i++)