aboutsummaryrefslogtreecommitdiff
path: root/tests/renegotiation_test.sh
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2025-02-03 21:59:49 +0100
committerTheo Buehler <tb@openbsd.org>2025-02-03 22:03:13 +0100
commit5bbae88080d65f9e81ef31c28e356f202d3cb03a (patch)
treecf1f907def158f637926f95cfe22572c2e139d41 /tests/renegotiation_test.sh
parent7e58cd8d51dbc517d562d11f256a8102fb04e748 (diff)
downloadportable-5bbae88080d65f9e81ef31c28e356f202d3cb03a.tar.gz
portable-5bbae88080d65f9e81ef31c28e356f202d3cb03a.tar.bz2
portable-5bbae88080d65f9e81ef31c28e356f202d3cb03a.zip
Link renegotiation test to build
Diffstat (limited to '')
-rwxr-xr-xtests/renegotiation_test.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/renegotiation_test.sh b/tests/renegotiation_test.sh
new file mode 100755
index 0000000..bbf27c8
--- /dev/null
+++ b/tests/renegotiation_test.sh
@@ -0,0 +1,15 @@
1#!/bin/sh
2set -e
3
4renegotiation_test_bin=./renegotiation_test
5if [ -e ./renegotiation_test.exe ]; then
6 renegotiation_test_bin=./renegotiation_test.exe
7elif [ -e ./renegotiation_test.js ]; then
8 renegotiation_test_bin="node ./renegotiation_test.js"
9fi
10
11if [ -z $srcdir ]; then
12 srcdir=.
13fi
14
15$renegotiation_test_bin $srcdir/server1-rsa.pem $srcdir/server1-rsa-chain.pem $srcdir/ca-root-rsa.pem