2014-07-10 13:21:51 +02:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
2014-11-20 15:46:02 +01:00
|
|
|
|
|
|
|
ssltest_bin=./ssltest
|
|
|
|
if [ -e ./ssltest.exe ]; then
|
|
|
|
ssltest_bin=./ssltest.exe
|
|
|
|
fi
|
|
|
|
|
2016-04-05 03:02:35 +02:00
|
|
|
if [ -d ../apps/openssl ]; then
|
|
|
|
openssl_bin=../apps/openssl/openssl
|
|
|
|
if [ -e ../apps/openssl/openssl.exe ]; then
|
|
|
|
openssl_bin=../apps/openssl/openssl.exe
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
openssl_bin=../apps/openssl
|
|
|
|
if [ -e ../apps/openssl.exe ]; then
|
|
|
|
openssl_bin=../apps/openssl.exe
|
|
|
|
fi
|
2014-11-20 15:46:02 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -z $srcdir ]; then
|
|
|
|
srcdir=.
|
|
|
|
fi
|
|
|
|
|
|
|
|
$srcdir/testssl $srcdir/server.pem $srcdir/server.pem $srcdir/ca.pem \
|
|
|
|
$ssltest_bin $openssl_bin
|