diff --git a/tests/testdsa.sh b/tests/testdsa.sh index 205b564..22de755 100755 --- a/tests/testdsa.sh +++ b/tests/testdsa.sh @@ -5,6 +5,9 @@ #Test DSA certificate generation of openssl cmd=../apps/openssl +if [ -e ../apps/openssl.exe ]; then + cmd=../apps/openssl.exe +fi if [ -z $srcdir ]; then srcdir=. diff --git a/tests/testenc.sh b/tests/testenc.sh index 51af0ab..9973c1c 100755 --- a/tests/testenc.sh +++ b/tests/testenc.sh @@ -3,6 +3,9 @@ test=p cmd=../apps/openssl +if [ -e ../apps/openssl.exe ]; then + cmd=../apps/openssl.exe +fi cat openssl.cnf >$test; diff --git a/tests/testrsa.sh b/tests/testrsa.sh index c96ad25..b72e760 100755 --- a/tests/testrsa.sh +++ b/tests/testrsa.sh @@ -5,6 +5,9 @@ #Test RSA certificate generation of openssl cmd=../apps/openssl +if [ -e ../apps/openssl.exe ]; then + cmd=../apps/openssl.exe +fi if [ -z $srcdir ]; then srcdir=.