gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: GNS: Update deprecated cURL constant


From: gnunet
Subject: [gnunet] branch master updated: GNS: Update deprecated cURL constant
Date: Fri, 02 Sep 2022 13:20:43 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 794266c3c GNS: Update deprecated cURL constant
794266c3c is described below

commit 794266c3c8ed78c29a6dc91d274b5758a838ecdd
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Fri Sep 2 13:20:37 2022 +0200

    GNS: Update deprecated cURL constant
---
 configure.ac               | 2 +-
 src/gns/gnunet-gns-proxy.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 60ff7e4b9..6e6161434 100644
--- a/configure.ac
+++ b/configure.ac
@@ -729,7 +729,7 @@ AS_IF([test "x$gnurl" = "x0"],
   [LIBCURL_CHECK_CONFIG([], [7.34.0], [curl=1], [curl=0])
    AS_IF([test "x$curl" = "x0"],
      [AC_CHECK_HEADER([curl/curl.h],
-        [AC_CHECK_DECLS([CURLINFO_TLS_SESSION],
+        [AC_CHECK_DECLS([CURLINFO_TLS_SSL_PTR],
                         [curl=1],
                         [curl=0],
                         [[#include <curl/curl.h>]])])
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c
index 796502043..64e60b954 100644
--- a/src/gns/gnunet-gns-proxy.c
+++ b/src/gns/gnunet-gns-proxy.c
@@ -970,7 +970,7 @@ check_ssl_certificate (struct Socks5Request *s5r)
               "Checking X.509 certificate\n");
   if (CURLE_OK !=
       curl_easy_getinfo (s5r->curl,
-                         CURLINFO_TLS_SESSION,
+                         CURLINFO_TLS_SSL_PTR,
                          &tlsinfo))
     return GNUNET_SYSERR;
   if (CURLSSLBACKEND_GNUTLS != tlsinfo->backend)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]