Index: net/quic/crypto/curve25519_key_exchange_test.cc |
diff --git a/net/quic/crypto/curve25519_key_exchange_test.cc b/net/quic/crypto/curve25519_key_exchange_test.cc |
index f731a5dad73b7b813948336a0707018cc9aa484f..b1443aa03a1a5d448450cd8e8c614c4dfc3bd700 100644 |
--- a/net/quic/crypto/curve25519_key_exchange_test.cc |
+++ b/net/quic/crypto/curve25519_key_exchange_test.cc |
@@ -4,17 +4,20 @@ |
#include "net/quic/crypto/curve25519_key_exchange.h" |
+#include "base/memory/scoped_ptr.h" |
+#include "base/string_piece.h" |
#include "net/quic/crypto/quic_random.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+using base::StringPiece; |
+using std::string; |
+ |
namespace net { |
namespace test { |
// SharedKey just tests that the basic key exchange identity holds: that both |
// parties end up with the same key. |
TEST(Curve25519KeyExchange, SharedKey) { |
-// TODO(rtenneti): Add support for curve25519. |
-#if 0 |
QuicRandom* const rand = QuicRandom::GetInstance(); |
for (int i = 0; i < 5; i++) { |
@@ -34,7 +37,6 @@ TEST(Curve25519KeyExchange, SharedKey) { |
ASSERT_TRUE(bob->CalculateSharedKey(alice_public, &bob_shared)); |
ASSERT_EQ(alice_shared, bob_shared); |
} |
-#endif |
} |
} // namespace test |