cast no longer required for modern curl
authorChristian Grothoff <christian@grothoff.org>
Sat, 16 Feb 2019 14:38:15 +0000 (15:38 +0100)
committerChristian Grothoff <christian@grothoff.org>
Sat, 16 Feb 2019 14:38:15 +0000 (15:38 +0100)
src/gns/gnunet-gns-proxy.c

index 9db388e771597afeaf3ca7435a3b2efb61ae82a7..65a7b60183487a72893057e8ac38c3d1f62f7d92 100644 (file)
@@ -972,7 +972,7 @@ check_ssl_certificate (struct Socks5Request *s5r)
   if (CURLE_OK !=
       curl_easy_getinfo (s5r->curl,
                         CURLINFO_TLS_SESSION,
-                        (struct curl_slist **) &tlsinfo))
+                        &tlsinfo))
     return GNUNET_SYSERR;
   if (CURLSSLBACKEND_GNUTLS != tlsinfo->backend)
   {