summaryrefslogtreecommitdiffstats
path: root/ci/build_openssl3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/build_openssl3.sh')
-rwxr-xr-xci/build_openssl3.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/ci/build_openssl3.sh b/ci/build_openssl3.sh
new file mode 100755
index 0000000..0f517c6
--- /dev/null
+++ b/ci/build_openssl3.sh
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+# build patched openssl (for GitHub workflow)
+
+git clone --depth 1 -b openssl-3.0.7+quic https://github.com/quictls/openssl
+cd openssl
+./config --prefix=$PWD/build --openssldir=/etc/ssl
+make -j"$(nproc 2> /dev/null || sysctl -n hw.ncpu)"
+make install_sw