Chromium Code Reviews
DescriptionImplement SSL renegotiation.
In the Windows Schannel API, a server requests renegotiation
when DecryptMessage (decrypting received data) returns
SEC_I_RENEGOTIATE. We need to jump to the handshake
sequence, and when handshake completes, come back to reading
data.
I also cleaned up the code. I created the
SetNextStateForRead and FreeSendBuffer functions to share
common code, and made sure our handshake sequence is
completely equivalent to the handshake sequence in the
Platform SDK WebClient.c sample.
R=rvargas
BUG=6893
TEST=Visit these sites, which request SSL renegotiation:
https://secure.skandiabanken.se/Skbsecure/LoginInternet/SKBLoginInternet.aspx
https://secure.skandiabanken.no/SkbSecure/Authentication/Otp/Default.ashx
https://www.myopenid.com/signin_certificate
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=12229
Patch Set 1 #Patch Set 2 : Ready for review #Patch Set 3 : Work in progress #Patch Set 4 : It works now #
Total comments: 5
Patch Set 5 : Upload before checkin #Messages
Total messages: 3 (0 generated)
|