From 64672e68a25e1c4c53a9e1e974036b02fdda2cc5 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Thu, 20 Sep 2018 14:32:38 +0000 Subject: SERVER-37222 Add ssl* deprecated aliases for tlsClusterCAFile and tlsWithholdClientCertificate --- src/mongo/util/net/ssl_manager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mongo/util/net/ssl_manager.cpp') diff --git a/src/mongo/util/net/ssl_manager.cpp b/src/mongo/util/net/ssl_manager.cpp index 59601090989..6a4a39c8d2a 100644 --- a/src/mongo/util/net/ssl_manager.cpp +++ b/src/mongo/util/net/ssl_manager.cpp @@ -68,6 +68,12 @@ ExportedServerParameter tlsWithholdClie "tlsWithholdClientCertificate", &sslGlobalParams.tlsWithholdClientCertificate); +// Deprecated alias for tlsWithholdClientCertificate +ExportedServerParameter sslWithholdClientCertificate( + ServerParameterSet::getGlobal(), + "sslWithholdClientCertificate", + &sslGlobalParams.tlsWithholdClientCertificate); + } // namespace class OpenSSLCipherConfigParameter -- cgit v1.2.1