call %test%\testss openssl\r
if errorlevel 1 goto done\r
\r
+set SSL_TEST=ssltest -key keyU.ss -cert certU.ss -c_key keyU.ss -c_cert certU.ss -CAfile certCA.ss\r
+\r
echo test sslv2\r
ssltest -ssl2\r
if errorlevel 1 goto done\r
\r
echo test sslv2 with server authentication\r
-ssltest -ssl2 -server_auth -CAfile cert.tmp\r
+%SSL_TEST% -ssl2 -server_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv2 with client authentication\r
-ssltest -ssl2 -client_auth -CAfile cert.tmp\r
+%SSL_TEST% -ssl2 -client_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv2 with both client and server authentication\r
-ssltest -ssl2 -server_auth -client_auth -CAfile cert.tmp\r
+%SSL_TEST% -ssl2 -server_auth -client_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv3\r
if errorlevel 1 goto done\r
\r
echo test sslv3 with server authentication\r
-ssltest -ssl3 -server_auth -CAfile cert.tmp\r
+%SSL_TEST% -ssl3 -server_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv3 with client authentication\r
-ssltest -ssl3 -client_auth -CAfile cert.tmp\r
+%SSL_TEST% -ssl3 -client_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv3 with both client and server authentication\r
-ssltest -ssl3 -server_auth -client_auth -CAfile cert.tmp\r
+%SSL_TEST% -ssl3 -server_auth -client_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv2/sslv3\r
if errorlevel 1 goto done\r
\r
echo test sslv2/sslv3 with server authentication\r
-ssltest -server_auth -CAfile cert.tmp\r
+%SSL_TEST% -server_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv2/sslv3 with client authentication\r
-ssltest -client_auth -CAfile cert.tmp\r
+%SSL_TEST% -client_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv2/sslv3 with both client and server authentication\r
-ssltest -server_auth -client_auth -CAfile cert.tmp\r
+%SSL_TEST% -server_auth -client_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv2 via BIO pair\r
if errorlevel 1 goto done\r
\r
echo test sslv2 with server authentication via BIO pair\r
-ssltest -bio_pair -ssl2 -server_auth -CAfile cert.tmp\r
+%SSL_TEST% -bio_pair -ssl2 -server_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv2 with client authentication via BIO pair\r
-ssltest -bio_pair -ssl2 -client_auth -CAfile cert.tmp\r
+%SSL_TEST% -bio_pair -ssl2 -client_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv2 with both client and server authentication via BIO pair\r
-ssltest -bio_pair -ssl2 -server_auth -client_auth -CAfile cert.tmp\r
+%SSL_TEST% -bio_pair -ssl2 -server_auth -client_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv3 via BIO pair\r
if errorlevel 1 goto done\r
\r
echo test sslv3 with server authentication via BIO pair\r
-ssltest -bio_pair -ssl3 -server_auth -CAfile cert.tmp\r
+%SSL_TEST% -bio_pair -ssl3 -server_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv3 with client authentication via BIO pair\r
-ssltest -bio_pair -ssl3 -client_auth -CAfile cert.tmp\r
+%SSL_TEST% -bio_pair -ssl3 -client_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv3 with both client and server authentication via BIO pair\r
-ssltest -bio_pair -ssl3 -server_auth -client_auth -CAfile cert.tmp\r
+%SSL_TEST% -bio_pair -ssl3 -server_auth -client_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv2/sslv3 via BIO pair\r
-ssltest\r
+ssltest -bio_pair\r
if errorlevel 1 goto done\r
\r
echo test sslv2/sslv3 with server authentication\r
-ssltest -bio_pair -server_auth -CAfile cert.tmp\r
+%SSL_TEST% -bio_pair -server_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv2/sslv3 with client authentication via BIO pair\r
-ssltest -bio_pair -client_auth -CAfile cert.tmp\r
+%SSL_TEST% -bio_pair -client_auth\r
if errorlevel 1 goto done\r
\r
echo test sslv2/sslv3 with both client and server authentication via BIO pair\r
-ssltest -bio_pair -server_auth -client_auth -CAfile cert.tmp\r
+%SSL_TEST% -bio_pair -server_auth -client_auth\r
if errorlevel 1 goto done\r
\r
del cert.tmp\r