2 fixes for schannel handshake
Date: Tue, 19 Jun 2012 21:39:30 +0000
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".
- application/octet-stream attachment: 0001-schannel-SSL-changes-in-schannel_connect_step2.patch