From: Marc Hoersken Date: Fri, 1 May 2015 07:39:34 +0000 (+0200) Subject: Bug born in changes made several days ago 9a91e80. X-Git-Tag: curl-7_43_0~188 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4bb8bad964f7ce84866f67054f8fae431ed45136;p=curl Bug born in changes made several days ago 9a91e80. Commit: https://github.com/bagder/curl/commit/926cb9f Reported-by: Ray Satiro --- diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index a42c88da6..3cd21d208 100644 --- a/lib/vtls/schannel.c +++ b/lib/vtls/schannel.c @@ -405,7 +405,7 @@ schannel_connect_step2(struct connectdata *conn, int sockindex) /* check if the handshake needs to be continued */ if(sspi_status == SEC_I_CONTINUE_NEEDED || sspi_status == SEC_E_OK) { - for(i = 0; i < 2; i++) { + for(i = 0; i < 3; i++) { /* search for handshake tokens that need to be send */ if(outbuf[i].BufferType == SECBUFFER_TOKEN && outbuf[i].cbBuffer > 0) { infof(data, "schannel: sending next handshake data: "