gcc 4.2 fixes to avoid use or function pointer casts in OpenSSL.
[openssl.git] / ssl / ssl_ciph.c
index 8b69beaa13d77b32355e5218d1518a6ec5d66d63..725f7f3c1ff2f1610308ad5fb4e9cc43985b3332 100644 (file)
@@ -1076,7 +1076,7 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(const SSL_METHOD *ssl_method,
        if (*cipher_list_by_id != NULL)
                sk_SSL_CIPHER_free(*cipher_list_by_id);
        *cipher_list_by_id = tmp_cipher_list;
-       sk_SSL_CIPHER_set_cmp_func(*cipher_list_by_id,ssl_cipher_ptr_id_cmp);
+       (void)sk_SSL_CIPHER_set_cmp_func(*cipher_list_by_id,ssl_cipher_ptr_id_cmp);
 
        return(cipherstack);
        }