diff options
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/legacy/lldb/db_openssl.go')
-rw-r--r-- | src/mongo/gotools/src/github.com/mongodb/mongo-tools/legacy/lldb/db_openssl.go | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/legacy/lldb/db_openssl.go b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/legacy/lldb/db_openssl.go deleted file mode 100644 index 73eff3b39c9..00000000000 --- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/legacy/lldb/db_openssl.go +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (C) MongoDB, Inc. 2014-present. -// -// Licensed under the Apache License, Version 2.0 (the "License"); you may -// not use this file except in compliance with the License. You may obtain -// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 - -// +build ssl,!openssl_pre_1.0 - -package lldb - -import ( - "github.com/mongodb/mongo-tools/legacy/lldb/openssl" - "github.com/mongodb/mongo-tools/legacy/options" -) - -func init() { - GetConnectorFuncs = append(GetConnectorFuncs, getSSLConnector) -} - -// return the SSL DB connector if using SSL, otherwise, return nil. -func getSSLConnector(opts options.ToolOptions) DBConnector { - if opts.SSL.UseSSL { - return &openssl.SSLDBConnector{} - } - return nil -} |