diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2017-11-30 10:16:32 -0500 |
---|---|---|
committer | Sara Golemon <sara.golemon@mongodb.com> | 2017-12-01 16:29:40 -0500 |
commit | 4a5f07ba38561db71727fe4254de5e9c24053645 (patch) | |
tree | c11ead2d7bb621670387798b34f038efd047735e /src/mongo/client/sasl_sspi.cpp | |
parent | bd20a3fe5a8aea410282f25f7dacdf7bb923b7c0 (diff) | |
download | mongo-4a5f07ba38561db71727fe4254de5e9c24053645.tar.gz |
SERVER-30491 Remove CRAM-MD5
Diffstat (limited to 'src/mongo/client/sasl_sspi.cpp')
-rw-r--r-- | src/mongo/client/sasl_sspi.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/mongo/client/sasl_sspi.cpp b/src/mongo/client/sasl_sspi.cpp index 954746c211e..de8afc7bafa 100644 --- a/src/mongo/client/sasl_sspi.cpp +++ b/src/mongo/client/sasl_sspi.cpp @@ -52,12 +52,6 @@ extern "C" int plain_client_plug_init(const sasl_utils_t* utils, sasl_client_plug_t** pluglist, int* plugcount); -extern "C" int crammd5_client_plug_init(const sasl_utils_t* utils, - int maxversion, - int* out_version, - sasl_client_plug_t** pluglist, - int* plugcount); - namespace mongo { namespace { /* @@ -494,20 +488,6 @@ MONGO_INITIALIZER_WITH_PREREQUISITES(SaslSspiClientPlugin, return Status::OK(); } -MONGO_INITIALIZER_WITH_PREREQUISITES(SaslCramClientPlugin, - ("CyrusSaslAllocatorsAndMutexes", "CyrusSaslClientContext")) -(InitializerContext*) { - int ret = sasl_client_add_plugin("CRAMMD5", crammd5_client_plug_init); - if (SASL_OK != ret) { - return Status(ErrorCodes::UnknownError, - mongoutils::str::stream() << "Could not add SASL Client CRAM-MD5 plugin " - << sspiPluginName - << ": " - << sasl_errstring(ret, NULL, NULL)); - } - - return Status::OK(); -} MONGO_INITIALIZER_WITH_PREREQUISITES(SaslPlainClientPlugin, ("CyrusSaslAllocatorsAndMutexes", "CyrusSaslClientContext")) |