diff options
author | Hugo Landau <hlandau@openssl.org> | 2022-04-04 14:36:20 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-04-06 18:21:11 +0200 |
commit | 948cf521798a801cfde47a137343e6f958d71f04 (patch) | |
tree | 5e73fc3f59569d876d98ffeacebc3427d805a104 /ssl/ssl_local.h | |
parent | ed7c64fc540c5808efe4092465af1147c76555a1 (diff) |
Add SSL_(CTX_)?get0_(verify|chain)_cert_store functions
Currently we do not have any way to retrieve these values once set.
Fixes #18035.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18038)
Diffstat (limited to 'ssl/ssl_local.h')
-rw-r--r-- | ssl/ssl_local.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h index 5e3c908cd2..c966146e03 100644 --- a/ssl/ssl_local.h +++ b/ssl/ssl_local.h @@ -2433,6 +2433,7 @@ __owur int ssl_verify_cert_chain(SSL *s, STACK_OF(X509) *sk); __owur int ssl_build_cert_chain(SSL *s, SSL_CTX *ctx, int flags); __owur int ssl_cert_set_cert_store(CERT *c, X509_STORE *store, int chain, int ref); +__owur int ssl_cert_get_cert_store(CERT *c, X509_STORE **pstore, int chain); __owur int ssl_security(const SSL *s, int op, int bits, int nid, void *other); __owur int ssl_ctx_security(const SSL_CTX *ctx, int op, int bits, int nid, |