wininet: Use the correct struct in a sizeof.
This commit is contained in:
parent
c574ab9680
commit
7d24e59229
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue