summaryrefslogtreecommitdiffstats
path: root/base/md5.h
diff options
context:
space:
mode:
authortfarina <tfarina@chromium.org>2015-04-06 14:04:26 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-06 21:05:32 +0000
commit6b950199c92a1fb530beb64110332b316528d9ae (patch)
tree47f3282f10003820e82112d885042f96511e89e5 /base/md5.h
parent409804aa7155bc497d6be7e17a26f76fad18defb (diff)
downloadchromium_src-6b950199c92a1fb530beb64110332b316528d9ae.zip
chromium_src-6b950199c92a1fb530beb64110332b316528d9ae.tar.gz
chromium_src-6b950199c92a1fb530beb64110332b316528d9ae.tar.bz2
Cleanup: Use uint8_t type throughout in the MD5 API.
This seems to be more consistent with the use of uint32_t type that is also used throughout in this API. BUG=None TEST=base_unittests --gtest_filter=MD5* R=thestig@chromium.org Review URL: https://codereview.chromium.org/1062673003 Cr-Commit-Position: refs/heads/master@{#323949}
Diffstat (limited to 'base/md5.h')
-rw-r--r--base/md5.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/base/md5.h b/base/md5.h
index 0a87fcf..be274f86 100644
--- a/base/md5.h
+++ b/base/md5.h
@@ -5,6 +5,8 @@
#ifndef BASE_MD5_H_
#define BASE_MD5_H_
+#include <stdint.h>
+
#include "base/base_export.h"
#include "base/strings/string_piece.h"
@@ -35,7 +37,7 @@ namespace base {
// The output of an MD5 operation.
struct MD5Digest {
- unsigned char a[16];
+ uint8_t a[16];
};
// Used for storing intermediate data during an MD5 computation. Callers