summaryrefslogtreecommitdiff
path: root/packages/hostap/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/hostap/build.sh')
-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 90b3358c..8e5d324b 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}