From: Daniel Stenberg Date: Tue, 27 May 2014 22:30:23 +0000 (+0200) Subject: gnutls: allow building with nghttp2 but without ALPN support X-Git-Tag: curl-7_37_1~150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b99f8e8b4e9f4db55085367beedfec096bef0b98;p=thirdparty%2Fcurl.git gnutls: allow building with nghttp2 but without ALPN support It might not be the most useful combo, but... --- diff --git a/lib/vtls/gtls.c b/lib/vtls/gtls.c index 628ae2138e..f77ce66c67 100644 --- a/lib/vtls/gtls.c +++ b/lib/vtls/gtls.c @@ -94,8 +94,6 @@ static bool gtls_inited = FALSE; # undef HAS_ALPN # if (GNUTLS_VERSION_NUMBER >= 0x030200) # define HAS_ALPN -# else -# error http2 builds require GnuTLS >= 3.2.0 for ALPN support # endif # endif #endif