34 lines
1020 B
Diff
34 lines
1020 B
Diff
From e4d0a60836e1ecbcd6390b88dceb2ca29d3179dc Mon Sep 17 00:00:00 2001
|
|
From: Rob Crittenden <rcritten@redhat.com>
|
|
Date: Thu, 27 Feb 2020 18:15:02 -0500
|
|
Subject: [PATCH 34/39] Add verbose option to SCEP CA if requested in
|
|
add-scep-ca
|
|
|
|
This option was silently dropped from the helper arguments even
|
|
if requested on the add-scep-ca CLI and was only passed to the
|
|
dbus helper.
|
|
|
|
Add as many -v as requested though the scep helper only logs at
|
|
most at level 1.
|
|
---
|
|
src/getcert.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/src/getcert.c b/src/getcert.c
|
|
index 4713dd1..3d78a73 100644
|
|
--- a/src/getcert.c
|
|
+++ b/src/getcert.c
|
|
@@ -4580,6 +4580,9 @@ add_scep_ca(const char *argv0, int argc, const char **argv)
|
|
certs ? "-I" : "",
|
|
certs ? shell_escape(globals.tctx, certs) : "",
|
|
prefer_non_renewal ? "-n" : "");
|
|
+ for (c = 0; c < verbose; c++) {
|
|
+ command = talloc_strdup_append(command, " -v");
|
|
+ }
|
|
if (command == NULL) {
|
|
printf(_("Error building command line.\n"));
|
|
exit(1);
|
|
--
|
|
2.21.1
|
|
|