 tests/ssltest.sh                 |   10 +-
 tests/testdsa.sh                 |   10 +-
 tests/testenc.sh                 |   10 +-
 tests/testrsa.sh                 |   10 +-

diff --git a/tests/ssltest.sh b/tests/ssltest.sh
index 28da3ac..72dadc1 100755
--- a/tests/ssltest.sh
+++ b/tests/ssltest.sh
@@ -7,14 +7,14 @@ if [ -e ./ssltest.exe ]; then
 fi
 
 if [ -d ../apps/openssl ]; then
-	openssl_bin=../apps/openssl/openssl
-	if [ -e ../apps/openssl/openssl.exe ]; then
-		openssl_bin=../apps/openssl/openssl.exe
+	openssl_bin=../apps/openssl/libressl
+	if [ -e ../apps/openssl/libressl.exe ]; then
+		openssl_bin=../apps/openssl/libressl.exe
 	fi
 else
 	openssl_bin=../apps/openssl
-	if [ -e ../apps/openssl.exe ]; then
-		openssl_bin=../apps/openssl.exe
+	if [ -e ../apps/libressl.exe ]; then
+		openssl_bin=../apps/libressl.exe
 	fi
 fi
 
diff --git a/tests/testdsa.sh b/tests/testdsa.sh
index 7ecb8ef..307fa07 100755
--- a/tests/testdsa.sh
+++ b/tests/testdsa.sh
@@ -5,14 +5,14 @@
 #Test DSA certificate generation of openssl
 
 if [ -d ../apps/openssl ]; then
-	cmd=../apps/openssl/openssl
-	if [ -e ../apps/openssl/openssl.exe ]; then
-		cmd=../apps/openssl/openssl.exe
+	cmd=../apps/openssl/libressl
+	if [ -e ../apps/openssl/libressl.exe ]; then
+		cmd=../apps/openssl/libressl.exe
 	fi
 else
 	cmd=../apps/openssl
-	if [ -e ../apps/openssl.exe ]; then
-		cmd=../apps/openssl.exe
+	if [ -e ../apps/libressl.exe ]; then
+		cmd=../apps/libressl.exe
 	fi
 fi
 
diff --git a/tests/testenc.sh b/tests/testenc.sh
index 63bce34..f7e8229 100755
--- a/tests/testenc.sh
+++ b/tests/testenc.sh
@@ -3,14 +3,14 @@
 
 test=p
 if [ -d ../apps/openssl ]; then
-	cmd=../apps/openssl/openssl
-	if [ -e ../apps/openssl/openssl.exe ]; then
-		cmd=../apps/openssl/openssl.exe
+	cmd=../apps/openssl/libressl
+	if [ -e ../apps/openssl/libressl.exe ]; then
+		cmd=../apps/openssl/libressl.exe
 	fi
 else
 	cmd=../apps/openssl
-	if [ -e ../apps/openssl.exe ]; then
-		cmd=../apps/openssl.exe
+	if [ -e ../apps/libressl.exe ]; then
+		cmd=../apps/libressl.exe
 	fi
 fi
 
diff --git a/tests/testrsa.sh b/tests/testrsa.sh
index e644999..8e5f005 100755
--- a/tests/testrsa.sh
+++ b/tests/testrsa.sh
@@ -5,14 +5,14 @@
 #Test RSA certificate generation of openssl
 
 if [ -d ../apps/openssl ]; then
-	cmd=../apps/openssl/openssl
-	if [ -e ../apps/openssl/openssl.exe ]; then
-		cmd=../apps/openssl/openssl.exe
+	cmd=../apps/openssl/libressl
+	if [ -e ../apps/openssl/libressl.exe ]; then
+		cmd=../apps/openssl/libressl.exe
 	fi
 else
 	cmd=../apps/openssl
-	if [ -e ../apps/openssl.exe ]; then
-		cmd=../apps/openssl.exe
+	if [ -e ../apps/libressl.exe ]; then
+		cmd=../apps/libressl.exe
 	fi
 fi
 
