crypt32: Always set required encoded length in CryptEncodeObject(Ex).

This commit is contained in:
Juan Lang 2006-07-17 19:44:54 -07:00 committed by Alexandre Julliard
parent 9e7f182871
commit 11d018471b

View File

@ -163,6 +163,8 @@ static BOOL CRYPT_EncodeEnsureSpace(DWORD dwFlags,
SetLastError(ERROR_MORE_DATA);
ret = FALSE;
}
else
*pcbEncoded = bytesNeeded;
return ret;
}