diff options
author | jsing <> | 2022-07-17 14:41:27 +0000 |
---|---|---|
committer | jsing <> | 2022-07-17 14:41:27 +0000 |
commit | 829a175777a008e2d7293b56bb0b6fb5056b0d29 (patch) | |
tree | 17f1037d2f6412e4698fc268c919ac09484a302a /src | |
parent | 025ef1603a82541ae3ee3e98000d6d580fd4b3d1 (diff) | |
download | openbsd-829a175777a008e2d7293b56bb0b6fb5056b0d29.tar.gz openbsd-829a175777a008e2d7293b56bb0b6fb5056b0d29.tar.bz2 openbsd-829a175777a008e2d7293b56bb0b6fb5056b0d29.zip |
Correct TLSEXT_TYPE_quic_transport_parameters message types.
Per RFC 9001, TLSEXT_TYPE_quic_transport_parameters may only appear in
ClientHello and EncryptedExtensions (not ServerHello).
ok beck@ tb@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/ssl_tlsext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_tlsext.c b/src/lib/libssl/ssl_tlsext.c index fa1eef3587..a7c8f2d61d 100644 --- a/src/lib/libssl/ssl_tlsext.c +++ b/src/lib/libssl/ssl_tlsext.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_tlsext.c,v 1.119 2022/07/02 16:31:04 tb Exp $ */ | 1 | /* $OpenBSD: ssl_tlsext.c,v 1.120 2022/07/17 14:41:27 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> | 4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> |
@@ -2245,7 +2245,7 @@ static const struct tls_extension tls_extensions[] = { | |||
2245 | #endif /* OPENSSL_NO_SRTP */ | 2245 | #endif /* OPENSSL_NO_SRTP */ |
2246 | { | 2246 | { |
2247 | .type = TLSEXT_TYPE_quic_transport_parameters, | 2247 | .type = TLSEXT_TYPE_quic_transport_parameters, |
2248 | .messages = SSL_TLSEXT_MSG_CH | SSL_TLSEXT_MSG_SH, | 2248 | .messages = SSL_TLSEXT_MSG_CH | SSL_TLSEXT_MSG_EE, |
2249 | .client = { | 2249 | .client = { |
2250 | .needs = tlsext_quic_transport_parameters_client_needs, | 2250 | .needs = tlsext_quic_transport_parameters_client_needs, |
2251 | .build = tlsext_quic_transport_parameters_client_build, | 2251 | .build = tlsext_quic_transport_parameters_client_build, |