update fips log statement

Signed-off-by: Ryan Richard <richardry@vmware.com>
This commit is contained in:
Ryan Richard
2026-06-25 15:53:23 -07:00
parent fdbaaad26f
commit 434a6be821
+4 -3
View File
@@ -116,9 +116,10 @@ func init() { //nolint:gochecknoinits
// thus we must use a log statement that will always print instead of conditionally print
plog.Always("this server was not compiled in legacy boring crypto FIPS-only mode",
"go version", runtime.Version(),
"SecureProfileMinTLSVersionForNonFIPS", tls.VersionName(SecureProfileMinTLSVersionForNonFIPS),
"Go native GOFIPS140 enabled", fips140.Enabled(),
"Go native GOFIPS140 version", fips140.Version(),
"GOFIPS140 enabled", fips140.Enabled(),
"GOFIPS140 version", fips140.Version(),
"GOFIPS140 enforced (typically for testing only)", fips140.Enforced(),
"SecureProfileMinTLSVersionForNonFIPS (only applies when FIPS is disabled)", tls.VersionName(SecureProfileMinTLSVersionForNonFIPS),
)
}