Jacek Caban : crypt32: Removed no longer needed hCertStore setting.

Alexandre Julliard julliard at winehq.org
Wed Oct 16 14:25:50 CDT 2013


Module: wine
Branch: master
Commit: 49b98891e50d59888e87cc99247c71e1858c80e3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=49b98891e50d59888e87cc99247c71e1858c80e3

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Oct 16 15:10:04 2013 +0200

crypt32: Removed no longer needed hCertStore setting.

---

 dlls/crypt32/collectionstore.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/dlls/crypt32/collectionstore.c b/dlls/crypt32/collectionstore.c
index f90eae4..bc16026 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;
 }




More information about the wine-cvs mailing list