summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnji Cooper <yaneurabeya@gmail.com>2024-04-17 21:10:15 -0700
committerTomas Mraz <tomas@openssl.org>2024-04-19 10:35:38 +0200
commit8574fa5f400eb235d7f3cb1a88715de85d1caf4a (patch)
treefa64b3c1177c517afbeee49628e42ffc1cf8c637
parent0977eac5655138318a60a459a0d8de108dc614b5 (diff)
openssl fipsinstall: fix cosmetic wart
This change makes the message on failure consistent with the message on success by trimming a single space in the error message. CLA: trivial Signed-off-by: Enji Cooper <yaneurabeya@gmail.com> Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> (Merged from https://github.com/openssl/openssl/pull/24180)
-rw-r--r--apps/fipsinstall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/fipsinstall.c b/apps/fipsinstall.c
index 6d86bb44e2..d0d5716ab1 100644
--- a/apps/fipsinstall.c
+++ b/apps/fipsinstall.c
@@ -478,7 +478,7 @@ opthelp:
ret = OSSL_PROVIDER_available(NULL, prov_name) ? 0 : 1;
if (!quiet) {
BIO_printf(bio_err, "FIPS provider is %s\n",
- ret == 0 ? "available" : " not available");
+ ret == 0 ? "available" : "not available");
}
}
goto end;