summaryrefslogtreecommitdiffstats
path: root/test/cmp_protect_test.c
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-05-08 13:30:44 +0200
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-05-13 19:42:00 +0200
commit63f1883dca7a42949e8b9db5b035c17fc160f998 (patch)
tree749712829ed5f1086740c7e7b72c8d881ccb0ba1 /test/cmp_protect_test.c
parent143be4748e49ff0181964affcbf422a895c48e85 (diff)
Rename OSSL_CMP_CTX_set1_clCert() to OSSL_CMP_CTX_set1_cert()
Also update documentation and example code in openssl-cmp.pod.in Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/11470)
Diffstat (limited to 'test/cmp_protect_test.c')
-rw-r--r--test/cmp_protect_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cmp_protect_test.c b/test/cmp_protect_test.c
index ce5a6cb420..1d1e009aca 100644
--- a/test/cmp_protect_test.c
+++ b/test/cmp_protect_test.c
@@ -242,7 +242,7 @@ static int test_MSG_protect_with_certificate_and_key(void)
OSSL_CMP_MSG_dup(ir_unprotected))
|| !TEST_true(SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 0))
|| !TEST_true(OSSL_CMP_CTX_set1_pkey(fixture->cmp_ctx, loadedkey))
- || !TEST_true(OSSL_CMP_CTX_set1_clCert(fixture->cmp_ctx, cert))) {
+ || !TEST_true(OSSL_CMP_CTX_set1_cert(fixture->cmp_ctx, cert))) {
tear_down(fixture);
fixture = NULL;
}