From c636e979e660031fa1590672c14178ac79ba4e07 Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Mon, 15 Mar 2021 06:16:25 -0400 Subject: [PATCH] [mod_gnutls] quiet clang warning --- src/mod_gnutls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_gnutls.c b/src/mod_gnutls.c index d3465585..480ce739 100644 --- a/src/mod_gnutls.c +++ b/src/mod_gnutls.c @@ -837,7 +837,7 @@ mod_gnutls_verify_cb (gnutls_session_t ssl) /* verify that client cert is issued by CA in ssl.ca-dn-file * if both ssl.ca-dn-file and ssl.ca-file were configured */ gnutls_x509_crt_t *CA_list = - (gnutls_x509_crt_t *)hctx->conf.ssl_ca_dn_file->data; + (gnutls_x509_crt_t *)(void *)hctx->conf.ssl_ca_dn_file->data; unsigned int len = hctx->conf.ssl_ca_dn_file->size; unsigned int i; gnutls_x509_dn_t issuer, subject;