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/support/ab.c
> URL: 
> http://svn.apache.org/viewvc/httpd/httpd/trunk/support/ab.c?rev=748396&r1=748395&r2=748396&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/support/ab.c (original)
> +++ httpd/httpd/trunk/support/ab.c Fri Feb 27 05:16:18 2009

> @@ -1979,7 +1979,7 @@
>      const char *optarg;
>      char c;
>  #ifdef USE_SSL
> -    SSL_METHOD *meth = SSLv23_client_method();
> +    const SSL_METHOD *meth = SSLv23_client_method();
>  #endif

Hm. Now I get the following warning with openssl-0.9.8d:

ab.c: In function 'main':
ab.c:2230: warning: passing argument 1 of 'SSL_CTX_new' discards qualifiers 
from pointer target type

Regards

RĂ¼diger

Reply via email to