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