summaryrefslogtreecommitdiffstats
path: root/net/base/mime_util.cc
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-20 23:17:06 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-20 23:17:06 +0000
commit30c473ac6ffeabd6ba09b3710323817636f30719 (patch)
tree61abb6c9f5c86d873b3b2b7ced02df27a87178fa /net/base/mime_util.cc
parent9d384037786ac2912d2ffc82cd1718d8383d8d9f (diff)
downloadchromium_src-30c473ac6ffeabd6ba09b3710323817636f30719.zip
chromium_src-30c473ac6ffeabd6ba09b3710323817636f30719.tar.gz
chromium_src-30c473ac6ffeabd6ba09b3710323817636f30719.tar.bz2
Implement 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 Review URL: http://codereview.chromium.org/42380 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12229 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/mime_util.cc')
0 files changed, 0 insertions, 0 deletions