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
|
||||
{
|
||||
*pcbInfo = sizeNeeded;
|
||||
pInfo->Algorithm.pszObjId = (char *)pInfo +
|
||||
sizeof(CERT_PUBLIC_KEY_INFO);
|
||||
lstrcpyA(pInfo->Algorithm.pszObjId,
|
||||
|
|
Loading…
Reference in New Issue