cryptnet: Store the bytes actually read, not the bytes available to be read.
This commit is contained in:
parent
3a55f964b9
commit
9072050906
|
@ -669,7 +669,7 @@ static BOOL CRYPT_DownloadObject(DWORD dwRetrievalFlags, HINTERNET hHttp,
|
|||
}
|
||||
}
|
||||
if (ret)
|
||||
object.cbData += bytesAvailable;
|
||||
object.cbData += buffer.dwBufferLength;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue