summaryrefslogtreecommitdiff
path: root/lib/libssl/tls1.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/tls1.h')
-rw-r--r--lib/libssl/tls1.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libssl/tls1.h b/lib/libssl/tls1.h
index 0c7e4a0f0bc..2bdbd3c1843 100644
--- a/lib/libssl/tls1.h
+++ b/lib/libssl/tls1.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls1.h,v 1.55 2022/07/13 14:28:09 tb Exp $ */
+/* $OpenBSD: tls1.h,v 1.56 2022/07/17 14:39:09 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -255,9 +255,6 @@ extern "C" {
/* ExtensionType value from RFC 7685. */
#define TLSEXT_TYPE_padding 21
-/* ExtensionType value from draft-ietf-quic-tls */
-#define TLSEXT_TYPE_quic_transport_parameters 26
-
/* ExtensionType value from RFC 4507. */
#define TLSEXT_TYPE_session_ticket 35
@@ -275,6 +272,11 @@ extern "C" {
#define TLSEXT_TYPE_key_share 51
#endif
+/* ExtensionType value from RFC 9001 section 8.2 */
+#if defined(LIBRESSL_HAS_QUIC) || defined(LIBRESSL_INTERNAL)
+#define TLSEXT_TYPE_quic_transport_parameters 57
+#endif
+
/*
* TLS 1.3 extension names from OpenSSL, where they decided to use a different
* name from that given in RFC 8446.