summaryrefslogtreecommitdiffstats
path: root/test/cmp_msg_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_msg_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_msg_test.c')
-rw-r--r--test/cmp_msg_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cmp_msg_test.c b/test/cmp_msg_test.c
index 413e284fcc..ca03dc23e3 100644
--- a/test/cmp_msg_test.c
+++ b/test/cmp_msg_test.c
@@ -165,7 +165,7 @@ static int test_cmp_create_ir_protection_fails(void)
if (!TEST_true(OSSL_CMP_CTX_set1_pkey(fixture->cmp_ctx, newkey))
|| !TEST_true(SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 0))
/* newkey used by default for signing does not match cert: */
- || !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;
}