Blame SOURCES/0039-Fix-broken-N-option-configuration.patch

5e5f7c
From 97ede42bda0cb8a983de30fc0608763ae6c2199f Mon Sep 17 00:00:00 2001
5e5f7c
From: Rob Crittenden <rcritten@redhat.com>
5e5f7c
Date: Wed, 29 Apr 2020 16:34:53 -0400
5e5f7c
Subject: [PATCH 39/39] Fix broken -N option configuration
5e5f7c
5e5f7c
There was an extra NULL value which caused it to not work.
5e5f7c
---
5e5f7c
 src/getcert.c | 2 +-
5e5f7c
 1 file changed, 1 insertion(+), 1 deletion(-)
5e5f7c
5e5f7c
diff --git a/src/getcert.c b/src/getcert.c
5e5f7c
index 42281af..5c8dc94 100644
5e5f7c
--- a/src/getcert.c
5e5f7c
+++ b/src/getcert.c
5e5f7c
@@ -4525,7 +4525,7 @@ add_scep_ca(const char *argv0, int argc, const char **argv)
5e5f7c
 		{"ca-cert", 'R', POPT_ARG_STRING, &root, 0, _("file containing CA's certificate"), HELP_TYPE_FILENAME},
5e5f7c
 		{"ra-cert", 'r', POPT_ARG_STRING, &racert, 0, _("file containing RA's certificate"), HELP_TYPE_FILENAME},
5e5f7c
 		{"other-certs", 'I', POPT_ARG_STRING, &certs, 0, _("file containing certificates in RA's certifying chain"), HELP_TYPE_FILENAME},
5e5f7c
-		{"signingca", 'N', POPT_ARG_STRING, NULL, &signingca, 0, _("the CA certificate which signed the RA certificate"), HELP_TYPE_FILENAME},
5e5f7c
+		{"signingca", 'N', POPT_ARG_STRING, &signingca, 0, _("the CA certificate which signed the RA certificate"), HELP_TYPE_FILENAME},
5e5f7c
 		{"non-renewal", 'n', POPT_ARG_NONE, &prefer_non_renewal, 0, _("prefer to not use the SCEP Renewal feature"), NULL},
5e5f7c
 		{"session", 's', POPT_ARG_NONE, NULL, 's', _("connect to the certmonger service on the session bus"), NULL},
5e5f7c
 		{"system", 'S', POPT_ARG_NONE, NULL, 'S', _("connect to the certmonger service on the system bus"), NULL},
5e5f7c
-- 
5e5f7c
2.21.1
5e5f7c