diff options
Diffstat (limited to 'cast/streaming/frame_crypto_unittest.cc')
-rw-r--r-- | cast/streaming/frame_crypto_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cast/streaming/frame_crypto_unittest.cc b/cast/streaming/frame_crypto_unittest.cc index 5fa3d7c0..a845ed03 100644 --- a/cast/streaming/frame_crypto_unittest.cc +++ b/cast/streaming/frame_crypto_unittest.cc @@ -29,8 +29,8 @@ TEST(FrameCryptoTest, EncryptsAndDecryptsFrames) { frame1.frame_id = frame0.frame_id + 1; frame1.data = frame0.data; - const std::array<uint8_t, 16> key = crypto::GenerateRandomBytes16(); - const std::array<uint8_t, 16> iv = crypto::GenerateRandomBytes16(); + const std::array<uint8_t, 16> key = GenerateRandomBytes16(); + const std::array<uint8_t, 16> iv = GenerateRandomBytes16(); EXPECT_NE(0, memcmp(key.data(), iv.data(), sizeof(key))); const FrameCrypto crypto(key, iv); |