]> granicus.if.org Git - apache/commitdiff
* modules/ssl/ssl_engine_init.c (ssl_init_FindCAList): Cast return
authorJoe Orton <jorton@apache.org>
Mon, 25 Feb 2008 14:18:32 +0000 (14:18 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 25 Feb 2008 14:18:32 +0000 (14:18 +0000)
value of sk_X509_NAME_set_cmp_func to void, to avoid warnings with
recent version of OpenSSL.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@630858 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_init.c

index 39fe17a00aca95ff0a8bf22492ec92b8d04333a1..39c45828bcf8b0ed2f402cd7bad66bf8d16113e8 100644 (file)
@@ -1235,7 +1235,7 @@ STACK_OF(X509_NAME) *ssl_init_FindCAList(server_rec *s,
     /*
      * Cleanup
      */
-    sk_X509_NAME_set_cmp_func(ca_list, NULL);
+    (void) sk_X509_NAME_set_cmp_func(ca_list, NULL);
 
     return ca_list;
 }