]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
APPS/cmp: fix wrong CLI option reference for -ref_cert
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Wed, 8 Oct 2025 07:37:35 +0000 (15:37 +0800)
committerDr. David von Oheimb <dev@ddvo.net>
Thu, 16 Oct 2025 17:54:09 +0000 (19:54 +0200)
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28786)

apps/cmp.c

index 404afe232636855d2ffc1de70f7dbb6f640bebad..011c9df7d740a9a8c9d56ab25ef236372c950ddd 100644 (file)
@@ -577,7 +577,7 @@ const OPTIONS cmp_options[] = {
      "Trusted certificates for client authentication"},
     {"srv_untrusted", OPT_SRV_UNTRUSTED, 's',
      "Intermediate certs that may be useful for verifying CMP protection"},
-    {"ref_cert", OPT_RSP_CERT, 's',
+    {"ref_cert", OPT_REF_CERT, 's',
      "Certificate to be expected for rr and any oldCertID in kur messages"},
     {"rsp_cert", OPT_RSP_CERT, 's',
      "Certificate to be returned as mock enrollment result"},