crypt32: Set an output parameter on the success path.

This commit is contained in:
Juan Lang 2009-10-20 12:48:48 -07:00 committed by Alexandre Julliard
parent 05e625fe3f
commit 43182842cd
1 changed files with 1 additions and 0 deletions

View File

@ -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,