diff options
author | Mark Salisbury <mark.salisbury@hp.com> | 2012-06-20 10:24:47 -0600 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-06-20 20:32:14 +0200 |
commit | 8f92e8be122de21d924b920c2c9fcd687f91a83a (patch) | |
tree | f7bd2a6b21937878679c40eea41d7bc2ee67fba4 /lib | |
parent | a3e3f8ffa0a3711adfda1486aaf2cd9e61c485a7 (diff) |
schannel SSL: fix for renegotiate problem
In schannel_connect_step2() doread should be initialized based
on connssl->connecting_state.
Diffstat (limited to 'lib')
-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 93af11399..0c51be655 100644 --- a/lib/curl_schannel.c +++ b/lib/curl_schannel.c @@ -290,7 +290,7 @@ schannel_connect_step2(struct connectdata *conn, int sockindex) SECURITY_STATUS sspi_status = SEC_E_OK; TCHAR *host_name; CURLcode code; - bool doread = TRUE; + bool doread = connssl->connecting_state != ssl_connect_2_writing; infof(data, "schannel: SSL/TLS connection with %s port %hu (step 2/3)\n", conn->host.name, conn->remote_port); |