]> git.ipfire.org Git - thirdparty/openssl.git/commit
Constify X509_get_ext() and friends..
authorBob Beck <beck@openssl.org>
Mon, 29 Sep 2025 22:47:44 +0000 (16:47 -0600)
committerNeil Horman <nhorman@openssl.org>
Tue, 24 Feb 2026 18:53:17 +0000 (13:53 -0500)
commite75bd84ffc7347a2cff79cca55bcf1f675fa0832
treed48fb1c8c309721c37ace7ce95cf0aa3741b2e9d
parent1c4a2cc8e76fbd6f4b49fa6ba5059a5c6b8efb38
Constify X509_get_ext() and friends..

These all took const, but returned non const, they should return const.

This then triggers constifying of a whole class of get_ext() functions.

Part of #28654 and #29117
Fixes: openssl/project#1779
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
MergeDate: Tue Feb 24 18:53:25 2026
(Merged from https://github.com/openssl/openssl/pull/29465)
27 files changed:
CHANGES.md
apps/lib/apps.c
apps/x509.c
crypto/ct/ct_sct_ctx.c
crypto/ocsp/ocsp_ext.c
crypto/ts/ts_lib.c
crypto/ts/ts_req_utils.c
crypto/ts/ts_rsp_utils.c
crypto/x509/t_acert.c
crypto/x509/t_req.c
crypto/x509/v3_akid.c
crypto/x509/v3_conf.c
crypto/x509/v3_lib.c
crypto/x509/v3_prn.c
crypto/x509/v3_purp.c
crypto/x509/v3_san.c
crypto/x509/x509_ext.c
crypto/x509/x509_v3.c
crypto/x509/x509_vfy.c
doc/man3/X509V3_get_d2i.pod
doc/man3/X509_EXTENSION_set_object.pod
doc/man3/X509v3_get_ext_by_NID.pod
include/openssl/ocsp.h.in
include/openssl/ts.h
include/openssl/x509.h.in
include/openssl/x509v3.h.in
test/ct_test.c