Commit 4bb8bad9 authored by Marc Hoersken's avatar Marc Hoersken
Browse files

Bug born in changes made several days ago 9a91e805.

Commit: https://github.com/bagder/curl/commit/926cb9f
Reported-by: Ray Satiro
parent b6c9f5b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: "