From 2e47712434355ca79cfb8debc332fa54b7a9255b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 23 Sep 2013 12:23:30 +0000 Subject: [PATCH] -fix deprecated gnutls symbols --- src/gns/Makefile.am | 4 ++-- src/gns/gnunet-gns-proxy.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gns/Makefile.am b/src/gns/Makefile.am index fcd966dd7..97b2fd57a 100644 --- a/src/gns/Makefile.am +++ b/src/gns/Makefile.am @@ -52,11 +52,11 @@ endif endif endif -# $(DO_PROXY) libexec_PROGRAMS = \ gnunet-service-gns \ $(DO_W32_HELPER) \ - gnunet-dns2gns + gnunet-dns2gns +# $(DO_PROXY) bin_PROGRAMS = \ $(DO_W32_NSPTOOLS) \ diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c index b46d6df3c..b770e7e6e 100644 --- a/src/gns/gnunet-gns-proxy.c +++ b/src/gns/gnunet-gns-proxy.c @@ -793,11 +793,11 @@ check_ssl_certificate (struct Socks5Request *s5r) { unsigned int i; union { - gnutls_session session; + gnutls_session_t session; struct curl_slist * to_slist; } gptr; unsigned int cert_list_size; - const gnutls_datum *chainp; + const gnutls_datum_t *chainp; gptr.to_slist = NULL; if (CURLE_OK != -- 2.25.1