gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: Revert "fix #6594: better test fo


From: gnunet
Subject: [libmicrohttpd] branch master updated: Revert "fix #6594: better test for gnutls_record_uncork"
Date: Fri, 25 Dec 2020 15:39:00 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new d3589c58 Revert "fix #6594: better test for gnutls_record_uncork"
d3589c58 is described below

commit d3589c58ffcee474e7ae2f2ce613938cec37f312
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Fri Dec 25 17:37:56 2020 +0300

    Revert "fix #6594: better test for gnutls_record_uncork"
    
    This reverts commit ed6afa825ea8e1c88fe931a10e1adfd32851fe39.
    MHD is not using gnutls_record_(un)cork anymore, allow to
    compile it with older GnuTLS.
    NOTE: it's generally bad idea to use outdated versions of
    TLS lib as it may contain some vulnerabilities.
---
 configure.ac | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index bd067afb..61b903d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1770,7 +1770,7 @@ AC_ARG_WITH([[gnutls]],
         CPPFLAGS="-I$with_gnutls/include $CPPFLAGS"
         have_gnutls_pkgcfg=no
           AC_CHECK_HEADERS([gnutls/gnutls.h],
-            [AC_CHECK_LIB([gnutls], [gnutls_record_uncork],
+            [AC_CHECK_LIB([gnutls], [gnutls_priority_set],
               [
                 GNUTLS_CPPFLAGS="-I$with_gnutls/include"
                 GNUTLS_LDFLAGS="-L$with_gnutls/lib"
@@ -1882,7 +1882,7 @@ choke me now
        # check for GnuTLS at default paths
        have_gnutls_pkgcfg='no'
        AC_CHECK_HEADERS([gnutls/gnutls.h],
-        [AC_CHECK_LIB([gnutls], [gnutls_record_uncork],
+        [AC_CHECK_LIB([gnutls], [gnutls_priority_set],
           [
             GNUTLS_LIBS="-lgnutls"
             have_gnutls=yes
@@ -1909,8 +1909,8 @@ AS_IF([test "x$with_gnutls" != "xno" && test 
"x$have_gnutls" != "xyes"],
        # A bit of hack: unset cache variable to force recheck
        AS_UNSET([ac_cv_header_gnutls_gnutls_h])
        AC_CHECK_HEADERS([gnutls/gnutls.h],
-        [AS_UNSET([ac_cv_lib_gnutls_gnutls_record_uncork]) # A bit of hack: 
unset cache variable to force recheck
-         AC_CHECK_LIB([gnutls], [gnutls_record_uncork],
+        [AS_UNSET([ac_cv_lib_gnutls_gnutls_priority_set]) # A bit of hack: 
unset cache variable to force recheck
+         AC_CHECK_LIB([gnutls], [gnutls_priority_set],
           [
             GNUTLS_CPPFLAGS="$LIBGCRYPT_CFLAGS"
             GNUTLS_CFLAGS="$LIBGCRYPT_CFLAGS"

-- 
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]