From 4bb8bad964f7ce84866f67054f8fae431ed45136 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Fri, 1 May 2015 09:39:34 +0200 Subject: [PATCH] Bug born in changes made several days ago 9a91e80. Commit: https://github.com/bagder/curl/commit/926cb9f Reported-by: Ray Satiro --- lib/vtls/schannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index a42c88da6d..3cd21d2080 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: " -- 2.47.3