Module: wine Branch: master Commit: 3be7f3079c125155388c21d3072263a16cc7c4e8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3be7f3079c125155388c21d307...
Author: Daniel Lehman dlehman@esri.com Date: Wed Jul 23 13:08:34 2014 -0700
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 3986f0f..df9eb49 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;