summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/openssl_init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/net/openssl_init.cpp')
-rw-r--r--src/mongo/util/net/openssl_init.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/util/net/openssl_init.cpp b/src/mongo/util/net/openssl_init.cpp
index 1ef1e0ed26d..d7a94e07767 100644
--- a/src/mongo/util/net/openssl_init.cpp
+++ b/src/mongo/util/net/openssl_init.cpp
@@ -153,9 +153,10 @@ void setupFIPS() {
int status = FIPS_mode_set(1);
if (!status) {
LOGV2_FATAL(23173,
- "can't activate FIPS mode: {error}",
- "Can't activate FIPS mode",
- "error"_attr = SSLManagerInterface::getSSLErrorMessage(ERR_get_error()));
+ "can't activate FIPS mode: {sslManagerError}",
+ "can't activate FIPS mode",
+ "sslManagerError"_attr =
+ SSLManagerInterface::getSSLErrorMessage(ERR_get_error()));
fassertFailedNoTrace(16703);
}
LOGV2(23172, "FIPS 140-2 mode activated");