You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
744 B

  1. From 70cef63e0c0ec15016cf7c52d5183ed864cc50c4 Mon Sep 17 00:00:00 2001
  2. From: Toni Uhlig <matzeton@googlemail.com>
  3. Date: Sun, 20 Sep 2020 13:58:05 +0200
  4. Subject: [PATCH] Disable non IANA TLS extensions.
  5. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
  6. ---
  7. openssl_clienthello.c | 2 ++
  8. 1 file changed, 2 insertions(+)
  9. diff --git a/openssl_clienthello.c b/openssl_clienthello.c
  10. index 559db56..6ecabcb 100644
  11. --- a/openssl_clienthello.c
  12. +++ b/openssl_clienthello.c
  13. @@ -93,7 +93,9 @@ static struct lookup_table_element_t known_extensions[] = {
  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. --
  23. 2.20.1