From: FdaSilvaYY Date: Thu, 18 Jul 2024 21:33:49 +0000 (+0200) Subject: apps: add missing entry to tls extension label list X-Git-Tag: openssl-3.3.2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4688f9b821525b255e0ff22f376fee93c2f9dc8e;p=thirdparty%2Fopenssl.git apps: add missing entry to tls extension label list noticed by @sftcd Reviewed-by: Tom Cosgrove Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/25111) --- diff --git a/apps/lib/s_cb.c b/apps/lib/s_cb.c index 5f14e532d76..4ae8d8a1b92 100644 --- a/apps/lib/s_cb.c +++ b/apps/lib/s_cb.c @@ -704,7 +704,7 @@ void msg_cb(int write_p, int version, int content_type, const void *buf, (void)BIO_flush(bio); } -static STRINT_PAIR tlsext_types[] = { +static const STRINT_PAIR tlsext_types[] = { {"server name", TLSEXT_TYPE_server_name}, {"max fragment length", TLSEXT_TYPE_max_fragment_length}, {"client certificate URL", TLSEXT_TYPE_client_certificate_url}, @@ -746,6 +746,7 @@ static STRINT_PAIR tlsext_types[] = { {"psk kex modes", TLSEXT_TYPE_psk_kex_modes}, {"certificate authorities", TLSEXT_TYPE_certificate_authorities}, {"post handshake auth", TLSEXT_TYPE_post_handshake_auth}, + {"early_data", TLSEXT_TYPE_early_data}, {NULL} };