]> granicus.if.org Git - mutt/commitdiff
Fix #157. From Enrik Berkhan <Enrik.Berkhan@fun.de>.
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 8 Jun 2000 12:01:36 +0000 (12:01 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 8 Jun 2000 12:01:36 +0000 (12:01 +0000)
imap/imap_ssl.c

index 465a3d7ef83f65163ece04fc4ffd301580651bb0..98b277067729a5ec48433ea12051a3af4a0d0210 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_subject_name (data->cert),
+  name = X509_NAME_oneline (X509_get_issuer_name (data->cert),
                            buf, sizeof (buf));
   for (i = 0; i < 5; i++)
   {