cURL / Mailing Lists / curl-library / Single Mail

curl-library

2 fixes for schannel handshake

From: Salisbury, Mark <mark.salisbury_at_hp.com>
Date: Tue, 19 Jun 2012 21:39:30 +0000

Hello,

I have a couple more fixes for schannel SSL (see attached).

1. Process extra data buffer before returning from schannel_connect_step2. Without this change I've seen WinCE hang when schannel_connect_step2 returns and calls Curl_socket_ready.

2. If the encrypted handshake does not fit in the intial buffer (seen with large certificate chain), increasing the encrypted data buffer is necessary. I double the size when it grows but limit it to 16x the original size.

Also a warning is fixed. It appears there is more turmoil than there really is as most of the change was increasing indentation.

Yang - thanks very much for working through my patches. Looks like there is just one patch left - patch 4 "schannel-SSL-Made-send-method-handle-unexpected-case.patch".

Mark

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2012-06-19