Module: wine Branch: master Commit: ec223a21295621cf7fd8251aff2d0ad77e5a0c5f URL: http://source.winehq.org/git/wine.git/?a=commit;h=ec223a21295621cf7fd8251aff...
Author: Juan Lang juan.lang@gmail.com Date: Fri Mar 11 13:44:26 2011 -0800
cryptnet: Trace more reasons for revocation failure.
---
dlls/cryptnet/cryptnet_main.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/cryptnet/cryptnet_main.c b/dlls/cryptnet/cryptnet_main.c index 204590f..3b9a044 100644 --- a/dlls/cryptnet/cryptnet_main.c +++ b/dlls/cryptnet/cryptnet_main.c @@ -1767,12 +1767,19 @@ static DWORD verify_cert_revocation(PCCERT_CONTEXT cert, DWORD index, } else { + TRACE("no CRL found\n"); error = CRYPT_E_NO_REVOCATION_CHECK; pRevStatus->dwIndex = index; } } else { + if (!pRevPara) + WARN("no CERT_REVOCATION_PARA\n"); + else if (!pRevPara->hCrlStore) + WARN("no dist points/aia extension and no CRL store\n"); + else if (!pRevPara->pIssuerCert) + WARN("no dist points/aia extension and no issuer\n"); error = CRYPT_E_NO_REVOCATION_CHECK; pRevStatus->dwIndex = index; }