diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-12-15 20:28:34 +0100 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-12-30 09:37:05 +0100 |
commit | 6be83cc655af819be0e3f2701c726a2550357953 (patch) | |
tree | 9ab4bfd78c64484aa3c2ba8b7ab2c08a631eb4b1 /include | |
parent | ea24196ef224d3aa3aaecb8000004bb7a0a100a2 (diff) |
OSSL_CMP_CTX: rename get/set function for trustedStore
This makes the naming more consistent, in a backward-compatible way
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17277)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/cmp.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/cmp.h.in b/include/openssl/cmp.h.in index b47344215b..fbe248388c 100644 --- a/include/openssl/cmp.h.in +++ b/include/openssl/cmp.h.in @@ -310,7 +310,9 @@ void *OSSL_CMP_CTX_get_transfer_cb_arg(const OSSL_CMP_CTX *ctx); int OSSL_CMP_CTX_set1_srvCert(OSSL_CMP_CTX *ctx, X509 *cert); int OSSL_CMP_CTX_set1_expected_sender(OSSL_CMP_CTX *ctx, const X509_NAME *name); int OSSL_CMP_CTX_set0_trustedStore(OSSL_CMP_CTX *ctx, X509_STORE *store); +#define OSSL_CMP_CTX_set0_trusted OSSL_CMP_CTX_set0_trustedStore X509_STORE *OSSL_CMP_CTX_get0_trustedStore(const OSSL_CMP_CTX *ctx); +#define OSSL_CMP_CTX_get0_trusted OSSL_CMP_CTX_get0_trustedStore int OSSL_CMP_CTX_set1_untrusted(OSSL_CMP_CTX *ctx, STACK_OF(X509) *certs); STACK_OF(X509) *OSSL_CMP_CTX_get0_untrusted(const OSSL_CMP_CTX *ctx); /* client authentication: */ |