Dmitry Timoshkov : crypt32: Simplify the code.
Alexandre Julliard
julliard at winehq.org
Thu Jan 31 14:50:13 CST 2019
Module: wine
Branch: master
Commit: fca88e169a56186dbe11da944c321766791d1802
URL: https://source.winehq.org/git/wine.git/?a=commit;h=fca88e169a56186dbe11da944c321766791d1802
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Thu Jan 31 13:24:25 2019 +0800
crypt32: Simplify the code.
cache can't be FALSE at this point.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at 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 cf14c2c..e1c7c54 100644
--- a/dlls/crypt32/cert.c
+++ b/dlls/crypt32/cert.c
@@ -919,7 +919,7 @@ BOOL WINAPI CryptAcquireCertificatePrivateKey(PCCERT_CONTEXT pCert,
if (pdwKeySpec)
*pdwKeySpec = keyContext.dwKeySpec;
if (pfCallerFreeProv)
- *pfCallerFreeProv = !cache;
+ *pfCallerFreeProv = FALSE;
}
}
if (!*phCryptProv)
More information about the wine-cvs
mailing list