[exim-dev] [Bug 1571] New: OpenSSL: tls_in_peerdn/tls_in_pee…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Roman Rybalko
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 1571] New: OpenSSL: tls_in_peerdn/tls_in_peercert is undefined for unverified certificate
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1571
           Summary: OpenSSL: tls_in_peerdn/tls_in_peercert is undefined for
                    unverified certificate
           Product: Exim
           Version: 4.84
          Platform: x86-64
               URL: https://github.com/Exim/exim/pull/26
        OS/Version: FreeBSD
            Status: NEW
          Severity: bug
          Priority: medium
         Component: TLS
        AssignedTo: pdp@???
        ReportedBy: exim@???
                CC: exim-dev@???



When compiled against OpenSSL the variables tls_in_peerdn & tls_in_peercert are
undefined when the certificate fails verification.
When exim is compiled against GnuTLS the variables tls_in_peerdn and
tls_in_peercert are defined always, does not matter whether the certificate is
verified or not.

According to the docs, the variables tls_in_peerdn and tls_in_peercert should
be always defined.

Suggested fix for OpenSSL: https://github.com/Exim/exim/pull/26/files


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email