File: configure-disable-currently-broken-quic-implementation.patch

package info (click to toggle)
ktls-utils 1.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 424 kB
  • sloc: ansic: 3,301; sh: 44; makefile: 34
file content (28 lines) | stat: -rw-r--r-- 1,302 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Ben Hutchings <benh@debian.org>
Date: Mon, 19 May 2025 22:35:22 +0200
Subject: configure: Disable currently broken QUIC implementation
Bug: https://github.com/oracle/ktls-utils/issues/99
Bug: https://github.com/oracle/ktls-utils/issues/100

The QUIC implementation currently has several obvious bugs.  As our
kernel UAPI headers don't yet include /usr/include/linux/quic.h, it is
automatically disabled by the configure script, but I want to ensure
that it stays disabled until those issues are resolved.

---
--- a/configure.ac
+++ b/configure.ac
@@ -63,9 +63,10 @@ PKG_CHECK_MODULES([LIBNL_GENL3], libnl-g
 AC_SUBST([LIBNL_GENL3_CFLAGS])
 AC_SUBST([LIBNL_GENL3_LIBS])
 
-AC_CHECK_HEADER([linux/quic.h],
-              [AC_CHECK_LIB([gnutls], [gnutls_handshake_set_secret_function],
-                            [AC_DEFINE([HAVE_GNUTLS_QUIC], [1], [Define to 1 if QUIC is found.])])])
+dnl QUIC is broken (upstream bugs #97, #99, #100)
+dnl AC_CHECK_HEADER([linux/quic.h],
+dnl               [AC_CHECK_LIB([gnutls], [gnutls_handshake_set_secret_function],
+dnl                             [AC_DEFINE([HAVE_GNUTLS_QUIC], [1], [Define to 1 if QUIC is found.])])])
 
 AC_CHECK_LIB([gnutls], [gnutls_transport_is_ktls_enabled],
              [AC_DEFINE([HAVE_GNUTLS_TRANSPORT_IS_KTLS_ENABLED], [1],