blob: 1195a99871fee5631a09214196017ab01ef47656 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 70cef63e0c0ec15016cf7c52d5183ed864cc50c4 Mon Sep 17 00:00:00 2001
2From: Toni Uhlig <matzeton@googlemail.com>
3Date: Sun, 20 Sep 2020 13:58:05 +0200
4Subject: [PATCH] Disable non IANA TLS extensions.
5
6Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
7---
8 openssl_clienthello.c | 2 ++
9 1 file changed, 2 insertions(+)
10
11--- a/openssl_clienthello.c
12+++ b/openssl_clienthello.c
13@@ -93,7 +93,9 @@ static struct lookup_table_element_t kno
14 ELEMENT(TLSEXT_TYPE_certificate_authorities),
15 #endif
16 ELEMENT(TLSEXT_TYPE_renegotiate),
17+#ifndef OPENSSL_NO_NEXTPROTONEG
18 ELEMENT(TLSEXT_TYPE_next_proto_neg),
19+#endif
20 { 0 }
21 };
22