Manvendra Bhangui writes:

courier-imap-20191205 (courier-imap-5.0.8.20191205.tar.bz2) fails to
build using opensuse build service for centos6, rhel6, rhel7 because
of older openssl versions

I have made the following changes to fix the issue.

diff -Naur Courier-imap-5.0.8.20191205/libs/tcpd/libcouriertls.c
courier-imap-5.0.8.20191205/libs/tcpd/libcouriertls.c

This completely removes server certificate validation.

The original change replaced manual certificate validation with the default one provided by the openssl library itself, in the newer versions.

Although server certificate validation is not used by Courier-IMAP, removing it is not the right fix.

Can you try building 20191210, which restores the older code when built against older versions of OpenSSL.

Attachment: pgpuVOGMQBqtA.pgp
Description: PGP signature

_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to