]> granicus.if.org Git - neomutt/commitdiff
Fix a mix-up.
authorThomas Roessler <roessler@does-not-exist.org>
Fri, 9 Jun 2000 17:33:14 +0000 (17:33 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Fri, 9 Jun 2000 17:33:14 +0000 (17:33 +0000)
imap/imap_ssl.c

index 98b277067729a5ec48433ea12051a3af4a0d0210..94a9d183528ae66b5af5de338ac0ff870c94d50a 100644 (file)
@@ -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++)
   {