Module: wine Branch: master Commit: 69e43ef10835a7a526fe5ff4db55dfa080f1575c URL: http://source.winehq.org/git/wine.git/?a=commit;h=69e43ef10835a7a526fe5ff4db...
Author: Juan Lang juan.lang@gmail.com Date: Fri Jan 16 07:49:08 2009 -0800
crypt32: Remove location checks when opening root store.
---
dlls/crypt32/rootstore.c | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/dlls/crypt32/rootstore.c b/dlls/crypt32/rootstore.c index 116c934..a2ed6e5 100644 --- a/dlls/crypt32/rootstore.c +++ b/dlls/crypt32/rootstore.c @@ -744,17 +744,6 @@ PWINECRYPT_CERTSTORE CRYPT_RootOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags) SetLastError(ERROR_ACCESS_DENIED); return NULL; } - switch (dwFlags & CERT_SYSTEM_STORE_LOCATION_MASK) - { - case CERT_SYSTEM_STORE_LOCAL_MACHINE: - case CERT_SYSTEM_STORE_CURRENT_USER: - break; - default: - TRACE("location %08x unsupported\n", - dwFlags & CERT_SYSTEM_STORE_LOCATION_MASK); - SetLastError(E_INVALIDARG); - return NULL; - } if (!CRYPT_rootStore) { HCERTSTORE root = create_root_store();