diff options
Diffstat (limited to 'security/nss/gtests/pk11_gtest/pk11_prf_unittest.cc')
-rw-r--r-- | security/nss/gtests/pk11_gtest/pk11_prf_unittest.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/security/nss/gtests/pk11_gtest/pk11_prf_unittest.cc b/security/nss/gtests/pk11_gtest/pk11_prf_unittest.cc index f2d4cf3b7..3580b10a2 100644 --- a/security/nss/gtests/pk11_gtest/pk11_prf_unittest.cc +++ b/security/nss/gtests/pk11_gtest/pk11_prf_unittest.cc @@ -8,6 +8,8 @@ #include "nss.h" #include "pk11pub.h" +#include "cpputil.h" + #include "gtest/gtest.h" namespace nss_test { @@ -43,10 +45,6 @@ const uint8_t kExpectedOutputEmsTlsPrf[] = { 0xde, 0xa4, 0xa0, 0x51, 0xe5, 0x53, 0xc1, 0x28, 0x04, 0x99, 0xbc, 0xb1, 0x2c, 0x9d, 0xe8, 0x0b, 0x18, 0xa2, 0x0e, 0x48, 0x52, 0x8d, 0x61, 0x13}; -static unsigned char* toUcharPtr(const uint8_t* v) { - return const_cast<unsigned char*>(static_cast<const unsigned char*>(v)); -} - class TlsPrfTest : public ::testing::Test { public: TlsPrfTest() |