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

cryptnet: Store the bytes actually read, not the bytes available to be read.

parent 3a55f964
......@@ -669,7 +669,7 @@ static BOOL CRYPT_DownloadObject(DWORD dwRetrievalFlags, HINTERNET hHttp,
}
}
if (ret)
object.cbData += bytesAvailable;
object.cbData += buffer.dwBufferLength;
}
else
{
......
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