On 02/27/2009 06:16 AM, [email protected] wrote:
> Author: sctemme
> Date: Fri Feb 27 05:16:18 2009
> New Revision: 748396
> 
> URL: http://svn.apache.org/viewvc?rev=748396&view=rev
> Log:
> The development trunk of OpenSSL has tightened up the type safety of the 
> STACK construct
> and the functions that manipulate it.  Make httpd trunk compile against 
> OpenSSL HEAD
> as well as OpenSSL 0.9.8j.  Also, get rid of some warnings.
> 
> Modified:
>     httpd/httpd/trunk/modules/ssl/ssl_engine_init.c
>     httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
>     httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c
>     httpd/httpd/trunk/modules/ssl/ssl_util_ssl.c
>     httpd/httpd/trunk/support/ab.c
> 

> Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c
> URL: 
> http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c?rev=748396&r1=748395&r2=748396&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c (original)
> +++ httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c Fri Feb 27 05:16:18 2009

> @@ -653,7 +653,7 @@
>  
>  static void ssl_var_lookup_ssl_cipher_bits(SSL *ssl, int *usekeysize, int 
> *algkeysize)
>  {
> -    SSL_CIPHER *cipher;
> +    const SSL_CIPHER *cipher;
>  
>      *usekeysize = 0;
>      *algkeysize = 0;
> 

This causes

ssl_engine_vars.c: In function `ssl_var_lookup_ssl_cipher_bits':
ssl_engine_vars.c:662: warning: passing arg 1 of `SSL_CIPHER_get_bits' discards 
qualifiers from pointer target type

on RedHat AS 4 with RedHat provided OpenSSL 0.9.7a. No issue with SuSE distro 
provided OpenSSL 0.9.8d.


Regards

RĂ¼diger

Reply via email to