Add support for magic cipher suite value (MCSV). Make secure renegotiation
authorDr. Stephen Henson <steve@openssl.org>
Tue, 8 Dec 2009 13:14:03 +0000 (13:14 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 8 Dec 2009 13:14:03 +0000 (13:14 +0000)
commit13f6d57b1ef964f2b9cbd8f68783884caef0e5cb
tree0e8b01c5c5428bc3aa4a9f56ed3e7f1b9ed11b1c
parent8025e2511381152bbe517c1819922ead5bd106e6
Add support for magic cipher suite value (MCSV). Make secure renegotiation
work in SSLv3: initial handshake has no extensions but includes MCSV, if
server indicates RI support then renegotiation handshakes include RI.

NB: current MCSV value is bogus for testing only, will be updated when we
have an official value.

Change mismatch alerts to handshake_failure as required by spec.

Also have some debugging fprintfs so we can clearly see what is going on
if OPENSSL_RI_DEBUG is set.
CHANGES
ssl/s3_clnt.c
ssl/s3_srvr.c
ssl/ssl3.h
ssl/ssl_lib.c
ssl/t1_lib.c
ssl/t1_reneg.c