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