aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2020-06-04 11:40:29 +0200
committerTomas Mraz <tmraz@fedoraproject.org>2020-06-09 14:11:19 +0200
commit11d3235e2b5a1dc9f48c040b1f1b6bea86ffc745 (patch)
tree30a7c0f99180ec1712fc5d59e698646448389082 /include
parent7646610b6a2c53ae50ed453c88291c23630e7850 (diff)
downloadopenssl-11d3235e2b5a1dc9f48c040b1f1b6bea86ffc745.zip
openssl-11d3235e2b5a1dc9f48c040b1f1b6bea86ffc745.tar.gz
openssl-11d3235e2b5a1dc9f48c040b1f1b6bea86ffc745.tar.bz2
Do not allow dropping Extended Master Secret extension on renegotiaton
Abort renegotiation if server receives client hello with Extended Master Secret extension dropped in comparison to the initial session. Fixes #9754 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12045)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ssl3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/ssl3.h b/include/openssl/ssl3.h
index 664ad23..9fc6b3a 100644
--- a/include/openssl/ssl3.h
+++ b/include/openssl/ssl3.h
@@ -297,6 +297,9 @@ extern "C" {
# define TLS1_FLAGS_STATELESS 0x0800
+/* Set if extended master secret extension required on renegotiation */
+# define TLS1_FLAGS_REQUIRED_EXTMS 0x1000
+
# define SSL3_MT_HELLO_REQUEST 0
# define SSL3_MT_CLIENT_HELLO 1
# define SSL3_MT_SERVER_HELLO 2