wininet: Use the correct struct in a sizeof.

This commit is contained in:
Thomas Faber 2012-06-17 16:18:36 +02:00 committed by Alexandre Julliard
parent c574ab9680
commit 7d24e59229
1 changed files with 1 additions and 1 deletions

View File

@ -2129,7 +2129,7 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe
INTERNET_CERTIFICATE_INFOA *info = (INTERNET_CERTIFICATE_INFOA*)buffer; INTERNET_CERTIFICATE_INFOA *info = (INTERNET_CERTIFICATE_INFOA*)buffer;
DWORD len; DWORD len;
memset(info, 0, sizeof(INTERNET_CERTIFICATE_INFOW)); memset(info, 0, sizeof(*info));
info->ftExpiry = context->pCertInfo->NotAfter; info->ftExpiry = context->pCertInfo->NotAfter;
info->ftStart = context->pCertInfo->NotBefore; info->ftStart = context->pCertInfo->NotBefore;
len = CertNameToStrA(context->dwCertEncodingType, len = CertNameToStrA(context->dwCertEncodingType,