crypt32: Trace cert version.

This commit is contained in:
Juan Lang 2009-11-06 18:00:05 -08:00 committed by Alexandre Julliard
parent 314033b992
commit bdbee82c42

View File

@ -1112,7 +1112,7 @@ static void dump_element(PCCERT_CONTEXT cert)
LPWSTR name = NULL;
DWORD len, i;
TRACE_(chain)("%p\n", cert);
TRACE_(chain)("%p: version %d\n", cert, cert->pCertInfo->dwVersion);
len = CertGetNameStringW(cert, CERT_NAME_SIMPLE_DISPLAY_TYPE,
CERT_NAME_ISSUER_FLAG, NULL, NULL, 0);
name = CryptMemAlloc(len * sizeof(WCHAR));