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

package info (click to toggle)
ktls-utils 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 636 kB
  • sloc: ansic: 3,620; makefile: 55; sh: 44
file content (28 lines) | stat: -rw-r--r-- 1,366 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
@@ -70,9 +70,10 @@ if test "$DOXYGEN" = false; then
 fi
 AM_CONDITIONAL([HAVE_DOXYGEN], [test "$DOXYGEN" != "false"])
 
-AC_CHECK_LIB([gnutls], [gnutls_handshake_set_secret_function],
-             [AC_DEFINE([HAVE_GNUTLS_QUIC], [1],
-			[Define to 1 if you have the gnutls_handshake_set_secret_function function.])])
+dnl QUIC is broken ()upstream bugs #97, #99, #100)
+dnl AC_CHECK_LIB([gnutls], [gnutls_handshake_set_secret_function],
+dnl              [AC_DEFINE([HAVE_GNUTLS_QUIC], [1],
+dnl 			[Define to 1 if you have the gnutls_handshake_set_secret_function function.])])
 AC_CHECK_LIB([gnutls], [gnutls_transport_is_ktls_enabled],
              [AC_DEFINE([HAVE_GNUTLS_TRANSPORT_IS_KTLS_ENABLED], [1],
                         [Define to 1 if you have the gnutls_transport_is_ktls_enabled function.])])