Hi,

attached is a patch that makes exim compile here. It fixes a call to an 
openssl-function. The code expects the return value of that function to be of 
type bool. In fact it is void. I simply removed the check. Again, I have no 
idea if this fix is really safe. Maybe someone can review this issue.

Regards,
Lars

--
 Lars Kuhtz
 http://www.kuhtz.eu
--- exim-4.66/src/tls-openssl.c.vanilla	2007-03-14 11:04:35.000000000 +0100
+++ exim-4.66/src/tls-openssl.c	2007-03-14 11:04:56.000000000 +0100
@@ -343,8 +343,7 @@
 /* Set up the information callback, which outputs if debugging is at a suitable
 level. */
 
-if (!(SSL_CTX_set_info_callback(ctx, (void (*)())info_callback)))
-  return tls_error(US"SSL_CTX_set_info_callback", host);
+SSL_CTX_set_info_callback(ctx, (void (*)())info_callback);
 
 /* The following patch was supplied by Robert Roselius */
 
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

Reply via email to