mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
crypt32: Always set required encoded length in CryptEncodeObject(Ex).
This commit is contained in:
parent
9e7f182871
commit
11d018471b
@ -163,6 +163,8 @@ static BOOL CRYPT_EncodeEnsureSpace(DWORD dwFlags,
|
||||
SetLastError(ERROR_MORE_DATA);
|
||||
ret = FALSE;
|
||||
}
|
||||
else
|
||||
*pcbEncoded = bytesNeeded;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user