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

Unified Diff: net/cert/x509_util.h

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/cert/x509_util.h
diff --git a/net/cert/x509_util.h b/net/cert/x509_util.h
index a996f85e6a294b1518969649d6c32d76ea9e396f..a1c296894681ccfd61e6ca5e4c412ebb6a2d697e 100644
--- a/net/cert/x509_util.h
+++ b/net/cert/x509_util.h
@@ -5,6 +5,7 @@
#ifndef NET_CERT_X509_UTIL_H_
#define NET_CERT_X509_UTIL_H_
+#include <stdint.h>
#include <string>
#include "base/memory/ref_counted.h"
@@ -56,7 +57,7 @@ NET_EXPORT_PRIVATE bool IsSupportedValidityRange(base::Time not_valid_before,
// Use this certificate only after the above risks are acknowledged.
NET_EXPORT bool CreateKeyAndSelfSignedCert(
const std::string& subject,
- uint32 serial_number,
+ uint32_t serial_number,
base::Time not_valid_before,
base::Time not_valid_after,
scoped_ptr<crypto::RSAPrivateKey>* key,
@@ -68,7 +69,7 @@ NET_EXPORT bool CreateKeyAndSelfSignedCert(
NET_EXPORT bool CreateSelfSignedCert(crypto::RSAPrivateKey* key,
DigestAlgorithm alg,
const std::string& subject,
- uint32 serial_number,
+ uint32_t serial_number,
base::Time not_valid_before,
base::Time not_valid_after,
std::string* der_cert);

Powered by Google App Engine
This is Rietveld 408576698