forked from Mirrors/wine-wine
CryptGetUserKey: Set return key handle to zero in case of failure.
parent
f07f08cfe6
commit
6b12414fc8
|
@ -1451,6 +1451,7 @@ BOOL WINAPI CryptGetUserKey (HCRYPTPROV hProv, DWORD dwKeySpec, HCRYPTKEY *phUse
|
||||||
|
|
||||||
/* CSP Error */
|
/* CSP Error */
|
||||||
CRYPT_Free(key);
|
CRYPT_Free(key);
|
||||||
|
*phUserKey = 0;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue