13 lines
328 B
Batchfile
Raw Permalink Normal View History

@echo off
setlocal enabledelayedexpansion
2018-03-20 15:55:41 -07:00
REM ocspocsp_test_bin.bat
2018-03-20 15:55:41 -07:00
set ocsp_test_bin=%1
set ocsp_test_bin=%ocsp_test_bin:/=\%
if not exist %ocsp_test_bin% exit /b 1
2018-03-20 15:55:41 -07:00
%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