| Index: net/quic/core/crypto/chacha20_poly1305_decrypter_test.cc
|
| diff --git a/net/quic/core/crypto/chacha20_poly1305_decrypter_test.cc b/net/quic/core/crypto/chacha20_poly1305_decrypter_test.cc
|
| index 94604cbc442736bae6bfe675444bceaacfca57d8..6caa52fc40c49ed531dbc53205185dab0c7f16ee 100644
|
| --- a/net/quic/core/crypto/chacha20_poly1305_decrypter_test.cc
|
| +++ b/net/quic/core/crypto/chacha20_poly1305_decrypter_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;
|
| @@ -142,14 +143,14 @@ TEST(ChaCha20Poly1305DecrypterTest, Decrypt) {
|
| bool has_pt = test_vectors[i].pt;
|
|
|
| // Decode the test vector.
|
| - string key = QuicUtils::HexDecode(test_vectors[i].key);
|
| - string iv = QuicUtils::HexDecode(test_vectors[i].iv);
|
| - string fixed = QuicUtils::HexDecode(test_vectors[i].fixed);
|
| - string aad = QuicUtils::HexDecode(test_vectors[i].aad);
|
| - string ct = QuicUtils::HexDecode(test_vectors[i].ct);
|
| + string key = QuicTextUtils::HexDecode(test_vectors[i].key);
|
| + string iv = QuicTextUtils::HexDecode(test_vectors[i].iv);
|
| + string fixed = QuicTextUtils::HexDecode(test_vectors[i].fixed);
|
| + string aad = QuicTextUtils::HexDecode(test_vectors[i].aad);
|
| + string ct = QuicTextUtils::HexDecode(test_vectors[i].ct);
|
| string pt;
|
| if (has_pt) {
|
| - pt = QuicUtils::HexDecode(test_vectors[i].pt);
|
| + pt = QuicTextUtils::HexDecode(test_vectors[i].pt);
|
| }
|
|
|
| ChaCha20Poly1305Decrypter decrypter;
|
|
|