From 51d6ff80e1a8c28dceeaebe3dae87212f88a8e8c Mon Sep 17 00:00:00 2001
From: Thomas Faber <thfabba@gmx.de>
Date: Sun, 17 Jun 2012 16:18:36 +0200
Subject: wininet: Use the correct struct in a sizeof.

---
 dlls/wininet/http.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 3d0ae34..1788bf2 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -2129,7 +2129,7 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe
             INTERNET_CERTIFICATE_INFOA *info = (INTERNET_CERTIFICATE_INFOA*)buffer;
             DWORD len;
 
-            memset(info, 0, sizeof(INTERNET_CERTIFICATE_INFOW));
+            memset(info, 0, sizeof(*info));
             info->ftExpiry = context->pCertInfo->NotAfter;
             info->ftStart = context->pCertInfo->NotBefore;
             len = CertNameToStrA(context->dwCertEncodingType,
-- 
1.7.10.msysgit.1
