]> granicus.if.org Git - curl/commitdiff
Bug born in changes made several days ago 9a91e80.
authorMarc Hoersken <info@marc-hoersken.de>
Fri, 1 May 2015 07:39:34 +0000 (09:39 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Fri, 1 May 2015 07:39:34 +0000 (09:39 +0200)
Commit: https://github.com/bagder/curl/commit/926cb9f
Reported-by: Ray Satiro
lib/vtls/schannel.c

index a42c88da6d4ef7b0b99faa6101d2a5ea19ea45f8..3cd21d2080e02a91837981dd8de6e56779788b0a 100644 (file)
@@ -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: "