From: tb Date: Mon, 24 Apr 2023 15:32:31 +0000 (+0000) Subject: Use TLSEXT_TYPE_alpn instead of the stupid long one X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=74b62d9a483e248e85c501f85aaa680719232a08;p=openbsd Use TLSEXT_TYPE_alpn instead of the stupid long one --- diff --git a/lib/libssl/ssl_tlsext.c b/lib/libssl/ssl_tlsext.c index 5ff61f39a51..8c4261439ae 100644 --- a/lib/libssl/ssl_tlsext.c +++ b/lib/libssl/ssl_tlsext.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_tlsext.c,v 1.132 2023/04/23 18:51:53 tb Exp $ */ +/* $OpenBSD: ssl_tlsext.c,v 1.133 2023/04/24 15:32:31 tb Exp $ */ /* * Copyright (c) 2016, 2017, 2019 Joel Sing * Copyright (c) 2017 Doug Hogan @@ -2112,7 +2112,7 @@ static const struct tls_extension tls_extensions[] = { }, }, { - .type = TLSEXT_TYPE_application_layer_protocol_negotiation, + .type = TLSEXT_TYPE_alpn, .messages = SSL_TLSEXT_MSG_CH | SSL_TLSEXT_MSG_EE, .client = { .needs = tlsext_alpn_client_needs,