From 3be7f3079c125155388c21d3072263a16cc7c4e8 Mon Sep 17 00:00:00 2001 From: Daniel Lehman Date: Wed, 23 Jul 2014 13:08:34 -0700 Subject: [PATCH] cryptnet: Continue checking the revocation urls if one is offline. --- dlls/cryptnet/cryptnet_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/cryptnet/cryptnet_main.c b/dlls/cryptnet/cryptnet_main.c index 3986f0f017b..df9eb496f46 100644 --- a/dlls/cryptnet/cryptnet_main.c +++ b/dlls/cryptnet/cryptnet_main.c @@ -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; -- 2.11.4.GIT