summaryrefslogtreecommitdiffstats
path: root/ssl/ssl3.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-12-08 13:15:38 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-12-08 13:15:38 +0000
commit7a014dceb61236803270f5c6022b82a2c656e0a1 (patch)
tree9b5ee21cc9be0f68ab0d003aaa42a81244e3340e /ssl/ssl3.h
parent1ff44a99a40567eec99efbc6059872e7912a89b9 (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 b44498c394..d8e055e92d 100644
--- a/ssl/ssl3.h
+++ b/ssl/ssl3.h
@@ -129,6 +129,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