summaryrefslogtreecommitdiff
path: root/db/security.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/security.cpp')
-rw-r--r--db/security.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/security.cpp b/db/security.cpp
index c3921d7ac51..3d78bfe6921 100644
--- a/db/security.cpp
+++ b/db/security.cpp
@@ -4,6 +4,8 @@
#include "security.h"
#include "../util/md5.hpp"
+namespace mongo {
+
extern "C" int do_md5_test(void);
boost::thread_specific_ptr<AuthenticationInfo> authInfo;
@@ -37,8 +39,12 @@ struct Security {
}
} security;
+} // namespace mongo
+
#include "commands.h"
#include "jsobj.h"
+
+namespace mongo {
class CmdGetNonce : public Command {
public:
@@ -61,3 +67,5 @@ public:
}
} cmdAuthenticate;
+
+} // namespace mongo