diff options
Diffstat (limited to '')
-rwxr-xr-x | tests/testrsa.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/testrsa.sh b/tests/testrsa.sh index c2c7c4c..e644999 100755 --- a/tests/testrsa.sh +++ b/tests/testrsa.sh | |||
@@ -4,9 +4,16 @@ | |||
4 | 4 | ||
5 | #Test RSA certificate generation of openssl | 5 | #Test RSA certificate generation of openssl |
6 | 6 | ||
7 | cmd=../apps/openssl/openssl | 7 | if [ -d ../apps/openssl ]; then |
8 | if [ -e ../apps/openssl/openssl.exe ]; then | 8 | cmd=../apps/openssl/openssl |
9 | cmd=../apps/openssl/openssl.exe | 9 | if [ -e ../apps/openssl/openssl.exe ]; then |
10 | cmd=../apps/openssl/openssl.exe | ||
11 | fi | ||
12 | else | ||
13 | cmd=../apps/openssl | ||
14 | if [ -e ../apps/openssl.exe ]; then | ||
15 | cmd=../apps/openssl.exe | ||
16 | fi | ||
10 | fi | 17 | fi |
11 | 18 | ||
12 | if [ -z $srcdir ]; then | 19 | if [ -z $srcdir ]; then |