[openssl/openssl] 7c75ac: Fix const spec in apps

0 views
Skip to first unread message

Milan Broz

unread,
Feb 4, 2026, 6:22:46 PM (3 days ago) Feb 4
to openssl...@openssl.org
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 7c75acfedc2cc2f4d5973a7e8c2a4aca55abb8db
https://github.com/openssl/openssl/commit/7c75acfedc2cc2f4d5973a7e8c2a4aca55abb8db
Author: Milan Broz <gmaz...@gmail.com>
Date: 2026-02-04 (Wed, 04 Feb 2026)

Changed paths:
M apps/lib/apps.c
M apps/lib/s_cb.c
M apps/s_client.c

Log Message:
-----------
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 <gmaz...@gmail.com>

Reviewed-by: Saša Nedvědický <sas...@openssl.org>
Reviewed-by: Nikola Pajkovsky <nik...@openssl.org>
Reviewed-by: Neil Horman <nho...@openssl.org>
MergeDate: Wed Feb 4 19:49:15 2026
(Merged from https://github.com/openssl/openssl/pull/29796)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
Reply all
Reply to author
Forward
0 new messages