From b4790900716f2b9edcc3e65cce6a23730233efa0 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Mon, 21 Jan 2002 12:34:27 +0000 Subject: [PATCH] A fix from Ulf Erikson, which he says to fix bug #989. --- mutt_ssl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mutt_ssl.c b/mutt_ssl.c index 5eee5ad5..e9c2200d 100644 --- a/mutt_ssl.c +++ b/mutt_ssl.c @@ -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++) -- 2.40.0