Commit 43182842 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Set an output parameter on the success path.

parent 05e625fe
...@@ -4565,6 +4565,7 @@ static BOOL WINAPI CRYPT_ExportRsaPublicKeyInfoEx(HCRYPTPROV_OR_NCRYPT_KEY_HANDL ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment