From 6be83cc655af819be0e3f2701c726a2550357953 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Wed, 15 Dec 2021 20:28:34 +0100 Subject: OSSL_CMP_CTX: rename get/set function for trustedStore This makes the naming more consistent, in a backward-compatible way Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/17277) --- apps/cmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/cmp.c b/apps/cmp.c index 0f810129b3..9d6d940beb 100644 --- a/apps/cmp.c +++ b/apps/cmp.c @@ -1062,7 +1062,7 @@ static OSSL_CMP_SRV_CTX *setup_srv_ctx(ENGINE *engine) X509_STORE *ts = load_trusted(opt_srv_trusted, 0, "certs trusted by mock server"); - if (ts == NULL || !OSSL_CMP_CTX_set0_trustedStore(ctx, ts)) { + if (ts == NULL || !OSSL_CMP_CTX_set0_trusted(ctx, ts)) { X509_STORE_free(ts); goto err; } @@ -1179,7 +1179,7 @@ static int setup_verification_ctx(OSSL_CMP_CTX *ctx) */ ts = load_trusted(opt_trusted, 0, "certs trusted by client"); - if (ts == NULL || !OSSL_CMP_CTX_set0_trustedStore(ctx, ts)) { + if (ts == NULL || !OSSL_CMP_CTX_set0_trusted(ctx, ts)) { X509_STORE_free(ts); return 0; } -- cgit v1.2.3