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 /crypto/cmp/cmp_ctx.c | |
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 'crypto/cmp/cmp_ctx.c')
-rw-r--r-- | crypto/cmp/cmp_ctx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/cmp/cmp_ctx.c b/crypto/cmp/cmp_ctx.c index 75418a60b8..207f65430c 100644 --- a/crypto/cmp/cmp_ctx.c +++ b/crypto/cmp/cmp_ctx.c @@ -35,7 +35,7 @@ TYPE *OSSL_CMP_CTX_get0_##NAME(const OSSL_CMP_CTX *ctx) \ /* * Get current certificate store containing trusted root CA certs */ -DEFINE_OSSL_CMP_CTX_get0_NAME(trustedStore, trusted, X509_STORE) +DEFINE_OSSL_CMP_CTX_get0_NAME(trusted, trusted, X509_STORE) #define DEFINE_OSSL_set0(PREFIX, FIELD, TYPE) \ DEFINE_OSSL_set0_NAME(PREFIX, FIELD, FIELD, TYPE) @@ -56,7 +56,7 @@ int PREFIX##_set0##_##NAME(OSSL_CMP_CTX *ctx, TYPE *val) \ * and a cert verification callback function used for CMP server authentication. * Any already existing store entry is freed. Given NULL, the entry is reset. */ -DEFINE_OSSL_set0_NAME(OSSL_CMP_CTX, trustedStore, trusted, X509_STORE) +DEFINE_OSSL_set0_NAME(OSSL_CMP_CTX, trusted, trusted, X509_STORE) /* Get current list of non-trusted intermediate certs */ DEFINE_OSSL_CMP_CTX_get0(untrusted, STACK_OF(X509)) |