summaryrefslogtreecommitdiffstats
path: root/apps/provider.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2019-08-29 15:21:04 +1000
committerPauli <paul.dale@oracle.com>2019-08-29 15:22:35 +1000
commitc92d0c5c6550346cffb942000e99aa88452bde6d (patch)
tree3366cc8c41821babaf19525f7a1d7609efb8e80c /apps/provider.c
parent18d307e98ebfe6d376ab039a73dc285190b717a0 (diff)
Allow an output indentation of zero in apps.
Previously, it would indent one space even if zero were specified. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9725)
Diffstat (limited to 'apps/provider.c')
-rw-r--r--apps/provider.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/provider.c b/apps/provider.c
index 33f194c332..932bc40931 100644
--- a/apps/provider.c
+++ b/apps/provider.c
@@ -68,13 +68,13 @@ static void print_caps(META *meta, INFO *info)
if (meta->first) {
if (meta->total > 0)
BIO_printf(bio_out, "\n");
- BIO_printf(bio_out, "%*s%ss:", meta->indent, " ", meta->label);
+ BIO_printf(bio_out, "%*s%ss:", meta->indent, "", meta->label);
}
BIO_printf(bio_out, " %s", info->name);
break;
case 3:
default:
- BIO_printf(bio_out, "%*s%s %s\n", meta->indent, " ", meta->label,
+ BIO_printf(bio_out, "%*s%s %s\n", meta->indent, "", meta->label,
info->name);
print_param_types("retrievable algorithm parameters",
info->gettable_params, meta->subindent);