14905877a0
- add patch for aeadtest.c to undef IN - add patch for ocsp_test.c to call BIO_sock_init() before getaddrinfo() - define STDERR_FILENO in unistd.h to build pkcs7test.c - add option ENABLE_VSTEST(default OFF) to enable test on Visual Studio - modify to pass test data file as an argument (aeadtest, evptest) - add Windows scripts (ocsptest, pq_test, ssltest, testdsa, testenc, testrsa) - do not build pidwraptest on MSVC - fix some indentations
19 lines
395 B
Batchfile
19 lines
395 B
Batchfile
@echo off
|
|
setlocal enabledelayedexpansion
|
|
REM ssltest.bat
|
|
|
|
set ssltest_bin=Debug\ssltest.exe
|
|
if not exist %ssltest_bin% exit /b 1
|
|
|
|
set openssl_bin=..\apps\openssl\Debug\openssl.exe
|
|
if not exist %openssl_bin% exit /b 1
|
|
|
|
if "%srcdir%"=="" (
|
|
set srcdir=.
|
|
)
|
|
|
|
%srcdir%\testssl.bat %srcdir%\server.pem %srcdir%\server.pem %srcdir%\ca.pem ^
|
|
%ssltest_bin% %openssl_bin%
|
|
|
|
endlocal
|