Re: [Exim] Exim 4.20, RedHat 9, TLS compile warning

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Russell Wilton
Cc: exim-users
Asunto: Re: [Exim] Exim 4.20, RedHat 9, TLS compile warning
On Fri, 20 Jun 2003, Russell Wilton wrote:

> gcc -c -O -I. -I/usr/include/openssl -I/usr/kerberos/include tls.c
> In file included from tls.c:84:
> tls-openssl.c: In function `tls_init':
> tls-openssl.c:343: warning: assignment from incompatible pointer type
>
> Is this something I need to resolve, or can I safely ignore it?


I think you can ignore it. Lines 343/344 are:

if (!SSL_CTX_set_info_callback(ctx, info_callback))
return tls_error(US"SSL_CTX_set_info_callback", host);

which do not involve a direct assignment, so it is hard to tell exactly
what the compiler is complaining about. I'll have a trawl of the SSL
stuff to see if I can find anything.



--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book