]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
apps: add missing entry to tls extension label list
authorFdaSilvaYY <fdasilvayy@gmail.com>
Thu, 18 Jul 2024 21:33:49 +0000 (23:33 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 21 Aug 2024 13:42:44 +0000 (15:42 +0200)
noticed by @sftcd

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25111)

apps/lib/s_cb.c

index 5f14e532d7676bd3d2b0028afc90cf113a4e144b..4ae8d8a1b9214acc30abef764a3a0bb0d381d359 100644 (file)
@@ -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}
 };