Index: net/quic/core/crypto/aes_128_gcm_12_encrypter_test.cc |
diff --git a/net/quic/core/crypto/aes_128_gcm_12_encrypter_test.cc b/net/quic/core/crypto/aes_128_gcm_12_encrypter_test.cc |
index 037d90f77e0ee085fd413c41d06804382091ff14..9236329b8a83cc8b3cbd0d25bf9da33b70a5a74a 100644 |
--- a/net/quic/core/crypto/aes_128_gcm_12_encrypter_test.cc |
+++ b/net/quic/core/crypto/aes_128_gcm_12_encrypter_test.cc |
@@ -7,6 +7,7 @@ |
#include <memory> |
#include "net/quic/core/quic_utils.h" |
+#include "net/quic/platform/api/quic_text_utils.h" |
#include "net/quic/test_tools/quic_test_utils.h" |
using base::StringPiece; |
@@ -178,12 +179,12 @@ TEST(Aes128Gcm12EncrypterTest, Encrypt) { |
const TestGroupInfo& test_info = test_group_info[i]; |
for (size_t j = 0; test_vectors[j].key != nullptr; j++) { |
// Decode the test vector. |
- string key = QuicUtils::HexDecode(test_vectors[j].key); |
- string iv = QuicUtils::HexDecode(test_vectors[j].iv); |
- string pt = QuicUtils::HexDecode(test_vectors[j].pt); |
- string aad = QuicUtils::HexDecode(test_vectors[j].aad); |
- string ct = QuicUtils::HexDecode(test_vectors[j].ct); |
- string tag = QuicUtils::HexDecode(test_vectors[j].tag); |
+ string key = QuicTextUtils::HexDecode(test_vectors[j].key); |
+ string iv = QuicTextUtils::HexDecode(test_vectors[j].iv); |
+ string pt = QuicTextUtils::HexDecode(test_vectors[j].pt); |
+ string aad = QuicTextUtils::HexDecode(test_vectors[j].aad); |
+ string ct = QuicTextUtils::HexDecode(test_vectors[j].ct); |
+ string tag = QuicTextUtils::HexDecode(test_vectors[j].tag); |
// The test vector's lengths should look sane. Note that the lengths |
// in |test_info| are in bits. |