-/* $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.
*
/* 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
#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.