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

Unified Diff: net/base/openssl_private_key_store_android.cc

Issue 1158923005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments. Exclude mime_sniffer*. Rebase. Created 5 years, 7 months 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
Index: net/base/openssl_private_key_store_android.cc
diff --git a/net/base/openssl_private_key_store_android.cc b/net/base/openssl_private_key_store_android.cc
index c52b1c10de30ca9ce2dcfe39db87d7da64fd73a7..e866efd733dc12f8e7d5ae54c6c179edcf9a134b 100644
--- a/net/base/openssl_private_key_store_android.cc
+++ b/net/base/openssl_private_key_store_android.cc
@@ -38,8 +38,8 @@ bool OpenSSLPrivateKeyStore::StoreKeyPair(const GURL& url,
bool ret = false;
if (public_len > 0 && private_len > 0) {
ret = android::StoreKeyPair(
- static_cast<const uint8*>(public_key), public_len,
- static_cast<const uint8*>(private_key), private_len);
+ static_cast<const uint8_t*>(public_key), public_len,
+ static_cast<const uint8_t*>(private_key), private_len);
}
LOG_IF(ERROR, !ret) << "StoreKeyPair failed. pub len = " << public_len
<< " priv len = " << private_len;

Powered by Google App Engine
This is Rietveld 408576698