From 8eec2f485a9aa4adda7fec46b15771b29c3ac9ee Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Fri, 5 Jun 2015 02:31:22 -0500 Subject: [PATCH] use correct binary on native windows builds --- tests/testdsa.sh | 3 +++ tests/testenc.sh | 3 +++ tests/testrsa.sh | 3 +++ 3 files changed, 9 insertions(+) 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=.