crypt32: Simplify the code.

cache can't be FALSE at this point.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2019-01-31 13:24:25 +08:00 committed by Alexandre Julliard
parent df173bd097
commit fca88e169a
1 changed files with 1 additions and 1 deletions

View File

@ -919,7 +919,7 @@ BOOL WINAPI CryptAcquireCertificatePrivateKey(PCCERT_CONTEXT pCert,
if (pdwKeySpec)
*pdwKeySpec = keyContext.dwKeySpec;
if (pfCallerFreeProv)
*pfCallerFreeProv = !cache;
*pfCallerFreeProv = FALSE;
}
}
if (!*phCryptProv)