From: Enji Cooper Date: Thu, 18 Apr 2024 04:10:15 +0000 (-0700) Subject: openssl fipsinstall: fix cosmetic wart X-Git-Tag: openssl-3.4.0-alpha1~668 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8574fa5f400eb235d7f3cb1a88715de85d1caf4a;p=thirdparty%2Fopenssl.git 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) --- diff --git a/apps/fipsinstall.c b/apps/fipsinstall.c index 6d86bb44e2b..d0d5716ab17 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;