Tidy-up FIPS changes for consistency

This commit is contained in:
Stephen Marshall
2023-01-19 16:41:30 +00:00
committed by Stephen Marshall
parent 9518a6d3ed
commit d3a197e0f2
3 changed files with 13 additions and 19 deletions

View File

@@ -24,8 +24,7 @@ import (
)
var (
FIPSEnabledType int
FIPSEnabledComponent int
FIPSEnabledType int
)
// FIPS has been turned off either because OS is not FIPS enabled or
@@ -79,12 +78,6 @@ func IsFIPSEnabled() bool {
return FIPSEnabledType > FIPS_ENABLED_OFF
}
// Set a flag to indicate FIPS compliance for MQ compoments
// Queue manager, Native HA, MQ Web Server etc.,
func SetComponent(componentId int) {
FIPSEnabledComponent += componentId
}
// Log a message on the console to indicate FIPS certified
// cryptography being used.
func PostInit(log *logger.Logger) {