aboutsummaryrefslogtreecommitdiff
path: root/tests/renegotiation_test.sh
blob: bbf27c83c29763af56d8154ad094726b2166e9c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

renegotiation_test_bin=./renegotiation_test
if [ -e ./renegotiation_test.exe ]; then
	renegotiation_test_bin=./renegotiation_test.exe
elif [ -e ./renegotiation_test.js ]; then
	renegotiation_test_bin="node ./renegotiation_test.js"
fi

if [ -z $srcdir ]; then
	srcdir=.
fi

$renegotiation_test_bin $srcdir/server1-rsa.pem $srcdir/server1-rsa-chain.pem $srcdir/ca-root-rsa.pem