1
1
diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h
2
- index 2e46cf80d3..cf43f544ad 100644
2
+ index 2e46cf80d3..c883d0f4fc 100644
3
3
--- a/include/openssl/tls1.h
4
4
+++ b/include/openssl/tls1.h
5
- @@ -131,6 +131,15 @@ extern "C" {
5
+ @@ -113,6 +113,9 @@ extern "C" {
6
+ /* ExtensionType value from RFC7301 */
7
+ # define TLSEXT_TYPE_application_layer_protocol_negotiation 16
8
+
9
+ + /* ExtensionType value from RFC6961 */
10
+ + # define TLSEXT_TYPE_status_request_v2 17
11
+ +
12
+ /*
13
+ * Extension type for Certificate Transparency
14
+ * https://tools.ietf.org/html/rfc6962#section-3.3.1
15
+ @@ -131,6 +134,15 @@ extern "C" {
6
16
/* ExtensionType value from RFC7627 */
7
17
# define TLSEXT_TYPE_extended_master_secret 23
8
-
18
+
9
19
+ /* [draft-ietf-tls-certificate-compression] */
10
20
+ # define TLSEXT_TYPE_compress_certificate 27
11
21
+ /* ExtensionType value from RFC8449 */
@@ -17,8 +27,8 @@ index 2e46cf80d3..cf43f544ad 100644
17
27
+
18
28
/* ExtensionType value from RFC4507 */
19
29
# define TLSEXT_TYPE_session_ticket 35
20
-
21
- @@ -145,6 +154 ,7 @@ extern "C" {
30
+
31
+ @@ -145,6 +157 ,7 @@ extern "C" {
22
32
# define TLSEXT_TYPE_signature_algorithms_cert 50
23
33
# define TLSEXT_TYPE_key_share 51
24
34
@@ -27,24 +37,25 @@ index 2e46cf80d3..cf43f544ad 100644
27
37
# define TLSEXT_TYPE_renegotiate 0xff01
28
38
29
39
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h
30
- index e8819e7a28..3b49018cf4 100644
40
+ index e8819e7a28..b870ca3247 100644
31
41
--- a/ssl/ssl_locl.h
32
42
+++ b/ssl/ssl_locl.h
33
- @@ -719,6 +719,9 @@ typedef enum tlsext_index_en {
43
+ @@ -719,6 +719,10 @@ typedef enum tlsext_index_en {
34
44
TLSEXT_IDX_cryptopro_bug,
35
45
TLSEXT_IDX_early_data,
36
46
TLSEXT_IDX_certificate_authorities,
37
47
+ TLSEXT_IDX_compress_certificate,
38
48
+ TLSEXT_IDX_record_size_limit,
39
49
+ TLSEXT_IDX_application_settings,
50
+ + TLSEXT_IDX_status_request_v2,
40
51
TLSEXT_IDX_padding,
41
52
TLSEXT_IDX_psk,
42
53
/* Dummy index - must always be the last entry */
43
54
diff --git a/ssl/statem/extensions.c b/ssl/statem/extensions.c
44
- index 8422161dc1..4979b58467 100644
55
+ index 8422161dc1..a7d9666c72 100644
45
56
--- a/ssl/statem/extensions.c
46
57
+++ b/ssl/statem/extensions.c
47
- @@ -371,6 +371,30 @@ static const EXTENSION_DEFINITION ext_defs[] = {
58
+ @@ -371,6 +371,38 @@ static const EXTENSION_DEFINITION ext_defs[] = {
48
59
tls_construct_certificate_authorities,
49
60
tls_construct_certificate_authorities, NULL,
50
61
},
@@ -71,6 +82,14 @@ index 8422161dc1..4979b58467 100644
71
82
+ NULL, NULL,
72
83
+ NULL,
73
84
+ NULL, NULL,
85
+ + },
86
+ + {
87
+ + TLSEXT_TYPE_status_request_v2,
88
+ + SSL_EXT_CLIENT_HELLO,
89
+ + NULL,
90
+ + NULL, NULL,
91
+ + NULL,
92
+ + NULL, NULL,
74
93
+ },
75
94
{
76
95
/* Must be immediately before pre_shared_key */
0 commit comments