diff options
-rw-r--r-- | lib/curl_schannel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_schannel.c b/lib/curl_schannel.c index 4fd676ea0..7db5f7a0d 100644 --- a/lib/curl_schannel.c +++ b/lib/curl_schannel.c @@ -697,7 +697,7 @@ schannel_send(struct connectdata *conn, int sockindex, InitSecBuffer(&outbuf[0], SECBUFFER_STREAM_HEADER, data, connssl->stream_sizes.cbHeader); InitSecBuffer(&outbuf[1], SECBUFFER_DATA, - data + connssl->stream_sizes.cbHeader, len); + data + connssl->stream_sizes.cbHeader, curlx_uztoul(len)); InitSecBuffer(&outbuf[2], SECBUFFER_STREAM_TRAILER, data + connssl->stream_sizes.cbHeader + len, connssl->stream_sizes.cbTrailer); |