summaryrefslogtreecommitdiffstats
path: root/security/nss/gtests/pk11_gtest/pk11_prf_unittest.cc
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-06 11:46:26 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-06 11:46:26 +0100
commitf017b749ea9f1586d2308504553d40bf4cc5439d (patch)
treec6033924a0de9be1ab140596e305898c651bf57e /security/nss/gtests/pk11_gtest/pk11_prf_unittest.cc
parent7c728b3c7680662fc4e92b5d03697b8339560b08 (diff)
downloadUXP-f017b749ea9f1586d2308504553d40bf4cc5439d.tar
UXP-f017b749ea9f1586d2308504553d40bf4cc5439d.tar.gz
UXP-f017b749ea9f1586d2308504553d40bf4cc5439d.tar.lz
UXP-f017b749ea9f1586d2308504553d40bf4cc5439d.tar.xz
UXP-f017b749ea9f1586d2308504553d40bf4cc5439d.zip
Update NSS to 3.32.1-RTM
Diffstat (limited to 'security/nss/gtests/pk11_gtest/pk11_prf_unittest.cc')
-rw-r--r--security/nss/gtests/pk11_gtest/pk11_prf_unittest.cc6
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()