[PATCH 2/2] crypt32: Simplify the code.
Dmitry Timoshkov
dmitry at baikal.ru
Wed Jan 30 23:24:25 CST 2019
cache can't be FALSE at this point.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
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 a0fe5bb245..ef7b138c4c 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)
--
2.20.1
More information about the wine-devel
mailing list