summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-09-03 07:13:53 +0200
committerGitHub <noreply@github.com>2022-09-03 07:13:53 +0200
commit07e2f85156ac024c7c8fe9d25925b6a72d9522af (patch)
tree1270dc82b96dbd6e70ef32a2492756cab627c5ec
parent831846e744b63f71707a6b2ca27b10b32cef5d26 (diff)
parent54a2f0aa704db96707c8545b81b180934b5f8b9c (diff)
downloadvyos-build-07e2f85156ac024c7c8fe9d25925b6a72d9522af.tar.gz
vyos-build-07e2f85156ac024c7c8fe9d25925b6a72d9522af.zip
Merge pull request #259 from chenxiaolong/eapol_tls_1.0
T4666: hostap: Reintroduce Debian's allow-tlsv1.patch
-rwxr-xr-xpackages/hostap/build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/hostap/build.sh b/packages/hostap/build.sh
index 865571c4..4e140d80 100755
--- a/packages/hostap/build.sh
+++ b/packages/hostap/build.sh
@@ -16,7 +16,9 @@ fi
echo "I: Copy Debian build instructions"
cp -a ${SRC_DEB}/debian ${SRC}
-rm -rf ${SRC}/debian/patches
+# Preserve Debian's default of allowing TLSv1.0 for compatibility
+find ${SRC}/debian/patches -mindepth 1 ! -name allow-tlsv1.patch -delete
+echo 'allow-tlsv1.patch' > ${SRC}/debian/patches/series
# Build Debian package
cd ${SRC}