diff --git a/dlls/crypt32/store.c b/dlls/crypt32/store.c index 6d9177e9931..391a95ee6d0 100644 --- a/dlls/crypt32/store.c +++ b/dlls/crypt32/store.c @@ -1321,7 +1321,7 @@ BOOL WINAPI CertEnumSystemStore(DWORD dwFlags, void *pvSystemStoreLocationPara, rc = RegEnumKeyExW(key, index++, name, &size, NULL, NULL, NULL, NULL); if (!rc) - ret = pfnEnum(name, 0, &info, NULL, pvArg); + ret = pfnEnum(name, dwFlags, &info, NULL, pvArg); } while (ret && !rc); if (ret && rc != ERROR_NO_MORE_ITEMS) SetLastError(rc);