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

Unified Diff: content/child/webcrypto/openssl/sha_openssl.cc

Issue 404733005: Replace uses of uint8 with uint8_t. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto master Created 6 years, 5 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
« no previous file with comments | « content/child/webcrypto/openssl/key_openssl.cc ('k') | content/child/webcrypto/platform_crypto.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/openssl/sha_openssl.cc
diff --git a/content/child/webcrypto/openssl/sha_openssl.cc b/content/child/webcrypto/openssl/sha_openssl.cc
index f9382b558f8088a6758548d57b1f0a372f93163f..981bf3a19b37f5b40a1352e1293815142eed304f 100644
--- a/content/child/webcrypto/openssl/sha_openssl.cc
+++ b/content/child/webcrypto/openssl/sha_openssl.cc
@@ -57,7 +57,7 @@ class DigestorOpenSsl : public blink::WebCryptoDigestor {
return true;
}
- Status FinishWithVectorAndStatus(std::vector<uint8>* result) {
+ Status FinishWithVectorAndStatus(std::vector<uint8_t>* result) {
const int hash_expected_size = EVP_MD_CTX_size(digest_context_.get());
result->resize(hash_expected_size);
unsigned char* const hash_buffer = Uint8VectorStart(result);
@@ -112,7 +112,7 @@ class ShaImplementation : public AlgorithmImplementation {
public:
virtual Status Digest(const blink::WebCryptoAlgorithm& algorithm,
const CryptoData& data,
- std::vector<uint8>* buffer) const OVERRIDE {
+ std::vector<uint8_t>* buffer) const OVERRIDE {
DigestorOpenSsl digestor(algorithm.id());
Status error = digestor.ConsumeWithStatus(data.bytes(), data.byte_length());
// http://crbug.com/366427: the spec does not define any other failures for
« no previous file with comments | « content/child/webcrypto/openssl/key_openssl.cc ('k') | content/child/webcrypto/platform_crypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698