aboutsummaryrefslogtreecommitdiff
path: root/tests/ocsptest.bat
blob: 2b6b66b34fd9f9488bbd5b24b9836264c8d2cbe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
@echo off
setlocal enabledelayedexpansion
REM	ocspocsp_test_bin.bat

set ocsp_test_bin=%1
set ocsp_test_bin=%ocsp_test_bin:/=\%
if not exist %ocsp_test_bin% exit /b 1

%ocsp_test_bin% www.amazon.com 443 & if !errorlevel! neq 0 exit /b 1
%ocsp_test_bin% cloudflare.com 443 & if !errorlevel! neq 0 exit /b 1

endlocal