diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-08-28 12:42:47 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-09-05 19:33:33 +0200 |
commit | 0b86eefd431dd05a0ba87b2f67a6b99def89b6d5 (patch) | |
tree | 87fe7baf949fbfbffd47f529432ef41f6f7a8237 /test | |
parent | 15076c26d794dbbdc5413a72e7feded0c9a2ba07 (diff) |
OSSL_CMP_CTX: rename field and its getter/setter from 'untrusted_certs' to 'untrusted
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12788)
Diffstat (limited to 'test')
-rw-r--r-- | test/cmp_ctx_test.c | 4 | ||||
-rw-r--r-- | test/cmp_vfy_test.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/cmp_ctx_test.c b/test/cmp_ctx_test.c index 9b2a53df5f..8b797f2e98 100644 --- a/test/cmp_ctx_test.c +++ b/test/cmp_ctx_test.c @@ -746,7 +746,7 @@ DEFINE_SET_TEST(OSSL_CMP, CTX, 1, 1, expected_sender, X509_NAME) DEFINE_SET_GET_BASE_TEST(OSSL_CMP_CTX, set0, get0, 0, trustedStore, X509_STORE *, NULL, DEFAULT_STORE, X509_STORE_new_1(), X509_STORE_free) -DEFINE_SET_GET_SK_X509_TEST(OSSL_CMP, CTX, 1, 0, untrusted_certs) +DEFINE_SET_GET_SK_X509_TEST(OSSL_CMP, CTX, 1, 0, untrusted) DEFINE_SET_TEST(OSSL_CMP, CTX, 1, 0, cert, X509) DEFINE_SET_TEST(OSSL_CMP, CTX, 1, 0, pkey, EVP_PKEY) @@ -830,7 +830,7 @@ int setup_tests(void) ADD_TEST(test_CTX_set0_get0_validatedSrvCert); ADD_TEST(test_CTX_set1_get0_expected_sender); ADD_TEST(test_CTX_set0_get0_trustedStore); - ADD_TEST(test_CTX_set1_get0_untrusted_certs); + ADD_TEST(test_CTX_set1_get0_untrusted); /* client authentication: */ ADD_TEST(test_CTX_set1_get0_cert); ADD_TEST(test_CTX_set1_get0_pkey); diff --git a/test/cmp_vfy_test.c b/test/cmp_vfy_test.c index 1aec50d657..93d57dd8bb 100644 --- a/test/cmp_vfy_test.c +++ b/test/cmp_vfy_test.c @@ -191,7 +191,7 @@ static int add_trusted(OSSL_CMP_CTX *ctx, X509 *cert) static int add_untrusted(OSSL_CMP_CTX *ctx, X509 *cert) { - return X509_add_cert(OSSL_CMP_CTX_get0_untrusted_certs(ctx), cert, + return X509_add_cert(OSSL_CMP_CTX_get0_untrusted(ctx), cert, X509_ADD_FLAG_UP_REF); } |