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

Unified Diff: net/test/cert_test_util_nss.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef 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 | « net/ssl/threaded_ssl_private_key.h ('k') | net/test/ct_test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/cert_test_util_nss.cc
diff --git a/net/test/cert_test_util_nss.cc b/net/test/cert_test_util_nss.cc
index 4427cebe117deb1de458b46f4bf70f63db0209a8..4cd435bc3ac660d1b059461363d06896b5915e02 100644
--- a/net/test/cert_test_util_nss.cc
+++ b/net/test/cert_test_util_nss.cc
@@ -27,10 +27,10 @@ bool ImportSensitiveKeyFromFile(const base::FilePath& dir,
return false;
}
- const uint8* key_pkcs8_begin =
- reinterpret_cast<const uint8*>(key_pkcs8.data());
- std::vector<uint8> key_vector(key_pkcs8_begin,
- key_pkcs8_begin + key_pkcs8.length());
+ const uint8_t* key_pkcs8_begin =
+ reinterpret_cast<const uint8_t*>(key_pkcs8.data());
+ std::vector<uint8_t> key_vector(key_pkcs8_begin,
+ key_pkcs8_begin + key_pkcs8.length());
crypto::ScopedSECKEYPrivateKey private_key(
crypto::ImportNSSKeyFromPrivateKeyInfo(slot, key_vector,
« no previous file with comments | « net/ssl/threaded_ssl_private_key.h ('k') | net/test/ct_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698