From 49b98891e50d59888e87cc99247c71e1858c80e3 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Wed, 16 Oct 2013 15:10:04 +0200 Subject: [PATCH] crypt32: Removed no longer needed hCertStore setting. --- dlls/crypt32/collectionstore.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dlls/crypt32/collectionstore.c b/dlls/crypt32/collectionstore.c index f90eae442b5..bc1602638f5 100644 --- a/dlls/crypt32/collectionstore.c +++ b/dlls/crypt32/collectionstore.c @@ -255,8 +255,6 @@ static void *Collection_enumCert(WINECRYPT_CERTSTORE *store, void *pPrev) } } LeaveCriticalSection(&cs->cs); - if (ret) - ((PCERT_CONTEXT)ret)->hCertStore = store; TRACE("returning %p\n", ret); return ret; } @@ -329,8 +327,6 @@ static void *Collection_enumCRL(WINECRYPT_CERTSTORE *store, void *pPrev) } } LeaveCriticalSection(&cs->cs); - if (ret) - ((PCRL_CONTEXT)ret)->hCertStore = store; TRACE("returning %p\n", ret); return ret; } @@ -402,8 +398,6 @@ static void *Collection_enumCTL(WINECRYPT_CERTSTORE *store, void *pPrev) } } LeaveCriticalSection(&cs->cs); - if (ret) - ((PCTL_CONTEXT)ret)->hCertStore = store; TRACE("returning %p\n", ret); return ret; }