]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix const spec in apps
authorMilan Broz <gmazyland@gmail.com>
Tue, 20 Jan 2026 13:18:14 +0000 (14:18 +0100)
committerNeil Horman <nhorman@openssl.org>
Wed, 4 Feb 2026 19:49:08 +0000 (14:49 -0500)
commit7c75acfedc2cc2f4d5973a7e8c2a4aca55abb8db
treed2447b8200e1d14a5578208f859de47eda83b24d
parentb00fae4ef89a4926f9122d1cf18cc26a9e8c213f
Fix const spec in apps

This patch fixes several const specifiers
(visible with non-default const-qual warning).

 - Functions like SSL_set_tlsext_host_name takes
   non-cost hostname parameter.

 - packet buffer is read in BIO_read, so it
   cannot be const

The rest is missing const specifiers where casting
to non-cost is not needed.

Signed-off-by: Milan Broz <gmazyland@gmail.com>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
MergeDate: Wed Feb  4 19:49:15 2026
(Merged from https://github.com/openssl/openssl/pull/29796)
apps/lib/apps.c
apps/lib/s_cb.c
apps/s_client.c