summaryrefslogtreecommitdiffstats
path: root/test/cmp_msg_test.c
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2023-02-15 15:38:35 +0100
committerDr. David von Oheimb <dev@ddvo.net>2023-04-18 07:26:11 +0200
commit25b18e629d5cab40f88b33fd9ecf0d69e08c7707 (patch)
treef55225b61571900800eebfe9c91810b94961b059 /test/cmp_msg_test.c
parentdcfeb617477dd957f69e713cbc61fd4dca0f2db4 (diff)
crypto/cmp: fix CertReqId to use in p10cr transactions acc. to RFC 4210
Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/20298)
Diffstat (limited to 'test/cmp_msg_test.c')
-rw-r--r--test/cmp_msg_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cmp_msg_test.c b/test/cmp_msg_test.c
index 5aaffa39e4..1f288f3b8d 100644
--- a/test/cmp_msg_test.c
+++ b/test/cmp_msg_test.c
@@ -107,7 +107,8 @@ static int execute_rr_create_test(CMP_MSG_TEST_FIXTURE *fixture)
static int execute_certconf_create_test(CMP_MSG_TEST_FIXTURE *fixture)
{
EXECUTE_MSG_CREATION_TEST(ossl_cmp_certConf_new
- (fixture->cmp_ctx, fixture->fail_info, NULL));
+ (fixture->cmp_ctx, OSSL_CMP_CERTREQID,
+ fixture->fail_info, NULL));
}
static int execute_genm_create_test(CMP_MSG_TEST_FIXTURE *fixture)