cryptnet: Continue checking the revocation urls if one is offline.

This commit is contained in:
Daniel Lehman 2014-07-23 13:08:34 -07:00 committed by Alexandre Julliard
parent 2c78d5815b
commit 3be7f3079c
1 changed files with 2 additions and 1 deletions

View File

@ -1553,7 +1553,8 @@ static DWORD verify_cert_revocation_from_dist_points_ext(
endTime = timeout = 0;
if (!ret)
error = GetLastError();
for (j = 0; !error && j < urlArray->cUrl; j++)
/* continue looping if one was offline; break if revoked or timed out */
for (j = 0; (!error || error == CRYPT_E_REVOCATION_OFFLINE) && j < urlArray->cUrl; j++)
{
PCCRL_CONTEXT crl;