diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2022-07-17 14:39:10 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2022-07-17 14:39:10 +0000 |
commit | a5086863105bab930d413c3286939a2f035c4fe9 (patch) | |
tree | 4d51fa1da8ac6b48968ea98b086827a9596b5b0c /lib/libssl | |
parent | 11c0eea29f4d231769ddb6b32a17c7a562eb3de7 (diff) |
Correct value for TLSEXT_TYPE_quic_transport_parameters
Use the correct value for TLSEXT_TYPE_quic_transport_parameters according
to RFC 9001 section 8.2. Also move the define under LIBRESSL_HAS_QUIC to
avoid things finding it prematurely.
ok beck@ tb@
Diffstat (limited to 'lib/libssl')
-rw-r--r-- | lib/libssl/tls1.h | 10 |
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. |