Land #605, Update testssl.bat

This commit is contained in:
Brent Cook 2020-07-22 09:39:01 -05:00
commit 706a21658c

View File

@ -62,6 +62,17 @@ echo "Testing ciphersuites"
for %%p in ( SSLv3,TLSv1.2 ) do ( for %%p in ( SSLv3,TLSv1.2 ) do (
echo "Testing ciphersuites for %%p" echo "Testing ciphersuites for %%p"
for /f "usebackq" %%c in (`%openssl% ciphers -v "%%p+aRSA" ^| find "%%p"`) do ( for /f "usebackq" %%c in (`%openssl% ciphers -v "%%p+aRSA" ^| find "%%p"`) do (
echo "Testing %%c"
%ssltest% -cipher %%c -tls1_2
if !errorlevel! neq 0 (
echo "Failed %%c"
exit /b 1
)
)
)
for %%p in ( TLSv1.3 ) do (
echo "Testing ciphersuites for %%p"
for /f "usebackq" %%c in (`%openssl% ciphers -v "%%p" ^| find "%%p"`) do (
echo "Testing %%c" echo "Testing %%c"
%ssltest% -cipher %%c %ssltest% -cipher %%c
if !errorlevel! neq 0 ( if !errorlevel! neq 0 (