Tidy-up FIPS changes for consistency
This commit is contained in:
committed by
Stephen Marshall
parent
9518a6d3ed
commit
d3a197e0f2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user