From 8574fa5f400eb235d7f3cb1a88715de85d1caf4a Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Wed, 17 Apr 2024 21:10:15 -0700 Subject: 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 Reviewed-by: Tom Cosgrove Reviewed-by: Matt Caswell Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/24180) --- apps/fipsinstall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3