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

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