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)