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

Unified Diff: net/quic/crypto/channel_id_openssl.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/quic/crypto/channel_id_chromium.cc ('k') | net/quic/crypto/common_cert_set.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/channel_id_openssl.cc
diff --git a/net/quic/crypto/channel_id_openssl.cc b/net/quic/crypto/channel_id_openssl.cc
index 1ba0a883e2a6979380375527ad26db97638c0035..4e576ae790610a1964be37e0604fa126dc237db6 100644
--- a/net/quic/crypto/channel_id_openssl.cc
+++ b/net/quic/crypto/channel_id_openssl.cc
@@ -44,9 +44,9 @@ bool ChannelIDVerifier::VerifyRaw(StringPiece key,
sig.r = r.get();
sig.s = s.get();
- const uint8* key_bytes = reinterpret_cast<const uint8*>(key.data());
- const uint8* signature_bytes =
- reinterpret_cast<const uint8*>(signature.data());
+ const uint8_t* key_bytes = reinterpret_cast<const uint8_t*>(key.data());
+ const uint8_t* signature_bytes =
+ reinterpret_cast<const uint8_t*>(signature.data());
if (BN_bin2bn(key_bytes + 0, 32, x.get()) == nullptr ||
BN_bin2bn(key_bytes + 32, 32, y.get()) == nullptr ||
« no previous file with comments | « net/quic/crypto/channel_id_chromium.cc ('k') | net/quic/crypto/common_cert_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698