Fix ssltest to run on appveyor
This commit is contained in:
parent
fa26b5359b
commit
615c380811
@ -43,5 +43,4 @@ build_script:
|
|||||||
- cmake --build . --config %CONFIG%
|
- cmake --build . --config %CONFIG%
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
# TODO: Determine how to run ssltest on AppVeyor
|
- ctest -C %CONFIG% --timeout 150 --output-on-failure
|
||||||
- ctest -C %CONFIG% --timeout 150 --output-on-failure -E ssltest
|
|
||||||
|
@ -11,7 +11,10 @@ set extra=%6
|
|||||||
|
|
||||||
%openssl% version & if !errorlevel! neq 0 exit /b 1
|
%openssl% version & if !errorlevel! neq 0 exit /b 1
|
||||||
|
|
||||||
for /f "usebackq" %%s in (`%openssl% x509 -in %cert% -text -noout ^| find /c "DSA Public Key"`) do set lines=%%s
|
set lines=0
|
||||||
|
for /f "usebackq" %%s in (`%openssl% x509 -in %cert% -text -noout ^| find "DSA Public Key"`) do (
|
||||||
|
set /a lines=%lines%+1
|
||||||
|
)
|
||||||
if %lines% gtr 0 (
|
if %lines% gtr 0 (
|
||||||
set dsa_cert=YES
|
set dsa_cert=YES
|
||||||
) else (
|
) else (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user