]> git.ipfire.org Git - thirdparty/openssl.git/commit
Constify X509_STORE_CTX functions invoving X509 *
authorBob Beck <beck@openssl.org>
Thu, 19 Feb 2026 00:34:12 +0000 (17:34 -0700)
committerTomas Mraz <tomas@openssl.org>
Wed, 25 Feb 2026 10:22:57 +0000 (11:22 +0100)
commite5b563366b001be60c64410d063c24c0536373bd
treeb20da89ee7d78e8aaf54af8e1804765365a0c54a
parentfdc8414e2a6a866f946a0acfd7429c52f12286ac
Constify X509_STORE_CTX functions invoving X509 *

X509_STORE_CTX *ctx, const X509 *x);
X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, const X509 *x);
int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *trust_store, const X509 *target, STACK_OF(X509) *untrusted);
const X509 *X509_STORE_CTX_get0_cert(const X509_STORE_CTX *ctx);
const X509 *X509_STORE_CTX_get_current_cert(const X509_STORE_CTX *ctx);
const X509 *X509_STORE_CTX_get0_current_issuer(const X509_STORE_CTX *ctx);
void X509_STORE_CTX_set_cert(X509_STORE_CTX *ctx, const X509 *target);

For #30052

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
MergeDate: Wed Feb 25 10:24:15 2026
(Merged from https://github.com/openssl/openssl/pull/30076)
13 files changed:
apps/lib/apps.c
apps/lib/s_cb.c
apps/verify.c
apps/x509.c
crypto/x509/t_x509.c
crypto/x509/x509_local.h
crypto/x509/x509_vfy.c
doc/man3/X509_STORE_CTX_get_error.pod
doc/man3/X509_STORE_CTX_new.pod
doc/man3/X509_STORE_set_verify_cb_func.pod
include/crypto/x509.h
include/openssl/x509_vfy.h.in
test/ssl_old_test.c