You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Peter Sylvester <pe...@edelweb.fr> on 2009/08/11 09:25:58 UTC
backport of 630858
Hi,
can someone make a backport of 630858
* modules/ssl/ssl_engine_init.c (ssl_init_FindCAList): Cast return
value of sk_X509_NAME_set_cmp_func to void, to avoid warnings with
recent version of OpenSSL.
--- httpd/httpd/trunk/modules/ssl/ssl_engine_init.c 2008/02/22 11:36:51 630163
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_init.c 2008/02/25 14:18:32 630858
@@ -1235,7 +1235,7 @@
/*
* Cleanup
*/
- sk_X509_NAME_set_cmp_func(ca_list, NULL);
+ (void) sk_X509_NAME_set_cmp_func(ca_list, NULL);
return ca_list;
}
thanks
Re: backport of 630858
Posted by Guenter Knauf <fu...@apache.org>.
Hi Peter,
Peter Sylvester schrieb:
> can someone make a backport of 630858
>
> * modules/ssl/ssl_engine_init.c (ssl_init_FindCAList): Cast return
> value of sk_X509_NAME_set_cmp_func to void, to avoid warnings with
> recent version of OpenSSL.
>
> --- httpd/httpd/trunk/modules/ssl/ssl_engine_init.c 2008/02/22
> 11:36:51 630163
> +++ httpd/httpd/trunk/modules/ssl/ssl_engine_init.c 2008/02/25
> 14:18:32 630858
> @@ -1235,7 +1235,7 @@
> /*
> * Cleanup
> */
> - sk_X509_NAME_set_cmp_func(ca_list, NULL);
> + (void) sk_X509_NAME_set_cmp_func(ca_list, NULL);
>
> return ca_list;
> }
>
I've already added your backport proposal to STATUS:
http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/STATUS?view=diff&r1=802934&r2=802935&pathrev=802935
Gün.