crypt32: Add support for szCERT_STORE_PROV_PKCS7 to CertOpenStore.
authorJuan Lang <juan.lang@gmail.com>
Tue, 15 Jun 2010 17:37:45 +0000 (10:37 -0700)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 16 Jun 2010 08:40:43 +0000 (10:40 +0200)
dlls/crypt32/store.c

index da3de5650db4bc96fb483cb12a9ab7e997ed444a..dc1878603c53795da0172435e1144ba61f09a65b 100644 (file)
@@ -799,6 +799,8 @@ HCERTSTORE WINAPI CertOpenStore(LPCSTR lpszStoreProvider,
         openFunc = CRYPT_FileOpenStore;
     else if (!strcasecmp(lpszStoreProvider, sz_CERT_STORE_PROV_SYSTEM))
         openFunc = CRYPT_SysOpenStoreW;
+    else if (!strcasecmp(lpszStoreProvider, sz_CERT_STORE_PROV_PKCS7))
+        openFunc = CRYPT_PKCSOpenStore;
     else if (!strcasecmp(lpszStoreProvider, sz_CERT_STORE_PROV_COLLECTION))
         openFunc = CRYPT_CollectionOpenStore;
     else if (!strcasecmp(lpszStoreProvider, sz_CERT_STORE_PROV_SYSTEM_REGISTRY))