X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=ms%2Ftest.bat;h=c3a1b0c28d943605bc30834dcb1f03988b4f7bad;hp=277602c56f15cb53f9b17b481c080b944a7691e1;hb=f9d183c20986602add9f956485e9b1ab2d385e9f;hpb=31b8d8684441e6cd5138832bb1b2ddb10acd6ba6 diff --git a/ms/test.bat b/ms/test.bat index 277602c56f..c3a1b0c28d 100755 --- a/ms/test.bat +++ b/ms/test.bat @@ -1,11 +1,16 @@ -@echo=off +@echo off -set test=p:\work\ssleay\ms +set test=..\ms set opath=%PATH% -PATH=%1;%PATH% +PATH=..\ms;%PATH% +set OPENSSL_CONF=..\apps\openssl.cnf rem run this from inside the bin directory +echo rsa_test +rsa_test +if errorlevel 1 goto done + echo destest destest if errorlevel 1 goto done @@ -62,20 +67,24 @@ echo dsatest dsatest if errorlevel 1 goto done +echo ectest +ectest +if errorlevel 1 goto done + echo testenc -call %test%\testenc ssleay +call %test%\testenc openssl if errorlevel 1 goto done echo testpem -call %test%\testpem ssleay +call %test%\testpem openssl if errorlevel 1 goto done echo verify copy ..\certs\*.pem cert.tmp >nul -ssleay verify -CAfile cert.tmp ..\certs\*.pem +openssl verify -CAfile cert.tmp ..\certs\*.pem echo testss -call %test%\testss ssleay +call %test%\testss openssl if errorlevel 1 goto done echo test sslv2 @@ -86,7 +95,7 @@ echo test sslv2 with server authentication ssltest -ssl2 -server_auth -CAfile cert.tmp if errorlevel 1 goto done -echo test sslv2 with client authentication +echo test sslv2 with client authentication ssltest -ssl2 -client_auth -CAfile cert.tmp if errorlevel 1 goto done @@ -102,7 +111,7 @@ echo test sslv3 with server authentication ssltest -ssl3 -server_auth -CAfile cert.tmp if errorlevel 1 goto done -echo test sslv3 with client authentication +echo test sslv3 with client authentication ssltest -ssl3 -client_auth -CAfile cert.tmp if errorlevel 1 goto done @@ -118,7 +127,7 @@ echo test sslv2/sslv3 with server authentication ssltest -server_auth -CAfile cert.tmp if errorlevel 1 goto done -echo test sslv2/sslv3 with client authentication +echo test sslv2/sslv3 with client authentication ssltest -client_auth -CAfile cert.tmp if errorlevel 1 goto done @@ -126,6 +135,57 @@ echo test sslv2/sslv3 with both client and server authentication ssltest -server_auth -client_auth -CAfile cert.tmp if errorlevel 1 goto done +echo test sslv2 via BIO pair +ssltest -bio_pair -ssl2 +if errorlevel 1 goto done + +echo test sslv2/sslv3 with 1024 bit DHE via BIO pair +ssltest -bio_pair -dhe1024dsa -v +if errorlevel 1 goto done + +echo test sslv2 with server authentication via BIO pair +ssltest -bio_pair -ssl2 -server_auth -CAfile cert.tmp +if errorlevel 1 goto done + +echo test sslv2 with client authentication via BIO pair +ssltest -bio_pair -ssl2 -client_auth -CAfile cert.tmp +if errorlevel 1 goto done + +echo test sslv2 with both client and server authentication via BIO pair +ssltest -bio_pair -ssl2 -server_auth -client_auth -CAfile cert.tmp +if errorlevel 1 goto done + +echo test sslv3 via BIO pair +ssltest -bio_pair -ssl3 +if errorlevel 1 goto done + +echo test sslv3 with server authentication via BIO pair +ssltest -bio_pair -ssl3 -server_auth -CAfile cert.tmp +if errorlevel 1 goto done + +echo test sslv3 with client authentication via BIO pair +ssltest -bio_pair -ssl3 -client_auth -CAfile cert.tmp +if errorlevel 1 goto done + +echo test sslv3 with both client and server authentication via BIO pair +ssltest -bio_pair -ssl3 -server_auth -client_auth -CAfile cert.tmp +if errorlevel 1 goto done + +echo test sslv2/sslv3 via BIO pair +ssltest +if errorlevel 1 goto done + +echo test sslv2/sslv3 with server authentication +ssltest -bio_pair -server_auth -CAfile cert.tmp +if errorlevel 1 goto done + +echo test sslv2/sslv3 with client authentication via BIO pair +ssltest -bio_pair -client_auth -CAfile cert.tmp +if errorlevel 1 goto done + +echo test sslv2/sslv3 with both client and server authentication via BIO pair +ssltest -bio_pair -server_auth -client_auth -CAfile cert.tmp +if errorlevel 1 goto done del cert.tmp