Module: wine Branch: master Commit: ee883ff6596b5315da60b55e7eeb865a9cbb42a0 URL: https://source.winehq.org/git/wine.git/?a=commit;h=ee883ff6596b5315da60b55e7...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Mon Dec 3 18:14:08 2018 +0300
crypt32: Pass type and flags in correct order to the find() helper.
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/crypt32/cert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/crypt32/cert.c b/dlls/crypt32/cert.c index 2d7ef42..e591c4d 100644 --- a/dlls/crypt32/cert.c +++ b/dlls/crypt32/cert.c @@ -1811,7 +1811,7 @@ PCCERT_CONTEXT WINAPI CertFindCertificateInStore(HCERTSTORE hCertStore, }
if (find) - ret = find(hCertStore, dwFlags, dwType, pvPara, pPrevCertContext); + ret = find(hCertStore, dwType, dwFlags, pvPara, pPrevCertContext); else if (compare) ret = cert_compare_certs_in_store(hCertStore, pPrevCertContext, compare, dwType, dwFlags, pvPara);