diff options
Diffstat (limited to 'src/mongo/db/auth/security_key.h')
-rw-r--r-- | src/mongo/db/auth/security_key.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/auth/security_key.h b/src/mongo/db/auth/security_key.h index 02a87aa5b23..bf53276994f 100644 --- a/src/mongo/db/auth/security_key.h +++ b/src/mongo/db/auth/security_key.h @@ -31,6 +31,8 @@ #include <string> +#include "mongo/db/auth/cluster_auth_mode.h" + namespace mongo { template <class T> class StatusWith; @@ -42,6 +44,6 @@ class StatusWith; * @param filename the file containing the key * @return if the key was successfully stored */ -bool setUpSecurityKey(const std::string& filename); +bool setUpSecurityKey(const std::string& filename, ClusterAuthMode mode); } // namespace mongo |