summaryrefslogtreecommitdiffstats
path: root/ssl/ssl3.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-12-08 13:14:03 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-12-08 13:14:03 +0000
commit13f6d57b1ef964f2b9cbd8f68783884caef0e5cb (patch)
tree0e8b01c5c5428bc3aa4a9f56ed3e7f1b9ed11b1c /ssl/ssl3.h
parent8025e2511381152bbe517c1819922ead5bd106e6 (diff)
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.
Diffstat (limited to 'ssl/ssl3.h')
-rw-r--r--ssl/ssl3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/ssl3.h b/ssl/ssl3.h
index 5f0eee6dbb..d929569aef 100644
--- a/ssl/ssl3.h
+++ b/ssl/ssl3.h
@@ -128,6 +128,9 @@
extern "C" {
#endif
+/* Magic Cipher Suite Value. NB: bogus value used for testing */
+#define SSL3_CK_MCSV 0x03000FEC
+
#define SSL3_CK_RSA_NULL_MD5 0x03000001
#define SSL3_CK_RSA_NULL_SHA 0x03000002
#define SSL3_CK_RSA_RC4_40_MD5 0x03000003