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
--- Courier-imap-5.0.8.20191205/libs/tcpd/libcouriertls.c 2019-11-17
03:00:34.000000000 +0530
+++ courier-imap-5.0.8.20191205/libs/tcpd/libcouriertls.c 2019-12-10
22:57:22.348963587 +0530
@@ -1091,6 +1091,7 @@
SSL_set_tlsext_host_name(ssl, info->peer_verify_domain);
}
#endif
+#if OPENSSL_API_COMPAT >= 0x10100000L
if (info->peer_verify_domain)
{
char *idn_domain1;
@@ -1109,6 +1110,7 @@
if (idn_domain1)
free(idn_domain1);
}
+#endif
if ((rc=SSL_connect(ssl)) > 0)
{
--
Regards Manvendra - http://www.indimail.org
GPG Pub Key
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC7CBC760014D250C
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap