From: Thomas Roessler Date: Fri, 9 Jun 2000 17:33:14 +0000 (+0000) Subject: Fix a mix-up. X-Git-Tag: mutt-1-3-4-rel~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68ada1f611a9a18754bcaaca69be9be724fe2be6;p=mutt Fix a mix-up. --- diff --git a/imap/imap_ssl.c b/imap/imap_ssl.c index 98b27706..94a9d183 100644 --- a/imap/imap_ssl.c +++ b/imap/imap_ssl.c @@ -439,7 +439,7 @@ static int ssl_check_certificate (sslsockdata * data) row = 0; strncpy (menu->dialog[row++], _("This certificate belongs to:"), SHORT_STRING); - name = X509_NAME_oneline (X509_get_issuer_name (data->cert), + name = X509_NAME_oneline (X509_get_subject_name (data->cert), buf, sizeof (buf)); for (i = 0; i < 5; i++) { @@ -449,7 +449,7 @@ static int ssl_check_certificate (sslsockdata * data) row++; strncpy (menu->dialog[row++], _("This certificate was issued by:"), SHORT_STRING); - name = X509_NAME_oneline (X509_get_subject_name (data->cert), + name = X509_NAME_oneline (X509_get_issuer_name (data->cert), buf, sizeof (buf)); for (i = 0; i < 5; i++) {