From 66c2978bedd1e065a12ffed688f6a8aeef5956fc Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Thu, 7 Mar 2024 16:49:01 +0100 Subject: [PATCH] Update apps/cmp.c Co-authored-by: David von Oheimb --- apps/cmp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/cmp.c b/apps/cmp.c index 9fe8d3da993717..df0c304e5b95d1 100644 --- a/apps/cmp.c +++ b/apps/cmp.c @@ -3253,9 +3253,7 @@ static int do_genm(OSSL_CMP_CTX *ctx) return 0; } - if (opt_crlcert == NULL) { - CMP_warn("No -crlcert given, will use data from -oldcrl"); - } else { + if (opt_crlcert != NULL) { crlcert = load_cert_pwd(opt_crlcert, opt_otherpass, "Cert for genm with -infotype crlStatusList"); if (crlcert == NULL)