Srt 1899 fipsmessage (#367)
* Fix FIPS message * Modify function name * Update FIPS message
This commit is contained in:
committed by
GitHub Enterprise
parent
53af11ff0d
commit
9518a6d3ed
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
© Copyright IBM Corporation 2018, 2022
|
||||
© Copyright IBM Corporation 2018, 2023
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -38,7 +38,7 @@ func postInit(name, keyLabel string, p12Truststore tls.KeyStoreData) error {
|
||||
}
|
||||
|
||||
// Enable FIPS for MQ Web Server if asked for.
|
||||
if fips.IsFIPSEnabled() {
|
||||
if len(keyLabel) > 0 && fips.IsFIPSEnabled() {
|
||||
err = configureFIPSWebServer(p12Truststore)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user