mirror of
https://github.com/reactos/wine.git
synced 2025-03-04 02:37:09 +00:00
crypt32: Set an output parameter on the success path.
This commit is contained in:
parent
05e625fe3f
commit
43182842cd
@ -4565,6 +4565,7 @@ static BOOL WINAPI CRYPT_ExportRsaPublicKeyInfoEx(HCRYPTPROV_OR_NCRYPT_KEY_HANDL
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
*pcbInfo = sizeNeeded;
|
||||||
pInfo->Algorithm.pszObjId = (char *)pInfo +
|
pInfo->Algorithm.pszObjId = (char *)pInfo +
|
||||||
sizeof(CERT_PUBLIC_KEY_INFO);
|
sizeof(CERT_PUBLIC_KEY_INFO);
|
||||||
lstrcpyA(pInfo->Algorithm.pszObjId,
|
lstrcpyA(pInfo->Algorithm.pszObjId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user