Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: crypto/hkdf_unittest.cc

Issue 1539353003: Switch to standard integer types in crypto/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crypto/hkdf.cc ('k') | crypto/hmac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/hkdf_unittest.cc
diff --git a/crypto/hkdf_unittest.cc b/crypto/hkdf_unittest.cc
index bcb19c5c10d185e49764af524616870816e7c65f..0412703d4f9e4ac89d8f3241cd00296413233f31 100644
--- a/crypto/hkdf_unittest.cc
+++ b/crypto/hkdf_unittest.cc
@@ -4,8 +4,12 @@
#include "crypto/hkdf.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
+#include "base/macros.h"
#include "base/strings/string_number_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -56,7 +60,7 @@ TEST(HKDFTest, HKDF) {
const HKDFTest& test(kHKDFTests[i]);
SCOPED_TRACE(i);
- std::vector<uint8> data;
+ std::vector<uint8_t> data;
ASSERT_TRUE(base::HexStringToBytes(test.key_hex, &data));
const std::string key(reinterpret_cast<char*>(&data[0]), data.size());
« no previous file with comments | « crypto/hkdf.cc ('k') | crypto/hmac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698