Index: crypto/p224_spake_unittest.cc |
diff --git a/crypto/p224_spake_unittest.cc b/crypto/p224_spake_unittest.cc |
index bcd448c9341a0b21b5fe8361f4ef822c0e7714e8..ca35f7245b9f10baa6b3b5bac03e195aa3af8903 100644 |
--- a/crypto/p224_spake_unittest.cc |
+++ b/crypto/p224_spake_unittest.cc |
@@ -7,7 +7,9 @@ |
#include "base/logging.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-using namespace crypto; |
+namespace crypto { |
+ |
+namespace { |
bool RunExchange(P224EncryptedKeyExchange* client, |
P224EncryptedKeyExchange* server) { |
@@ -42,7 +44,9 @@ bool RunExchange(P224EncryptedKeyExchange* client, |
} |
} |
-static const char kPassword[] = "foo"; |
+const char kPassword[] = "foo"; |
+ |
+} // namespace |
TEST(MutualAuth, CorrectAuth) { |
P224EncryptedKeyExchange client( |
@@ -122,3 +126,5 @@ TEST(MutualAuth, Fuzz) { |
} |
} |
} |
+ |
+} // namespace crypto |