diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-04 00:50:35 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-04 00:50:35 +0000 |
commit | 673266c4267a4bee5c8e63934d65f9accd534f42 (patch) | |
tree | 4bff6f58cddc30a7e7206fd37d9ed50f3b43bd21 /chrome/browser/internal_auth.cc | |
parent | 62e832e0f78a47a64d2a9e19757d89f144e04993 (diff) | |
download | chromium_src-673266c4267a4bee5c8e63934d65f9accd534f42.zip chromium_src-673266c4267a4bee5c8e63934d65f9accd534f42.tar.gz chromium_src-673266c4267a4bee5c8e63934d65f9accd534f42.tar.bz2 |
Use size_t as the type of the key_length and digest_length arguments
of HMAC::Init() and HMAC::Sign().
R=agl@chromium.org,bradnelson@chromium.org,thakis@chromium.org
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11419270
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170852 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/internal_auth.cc')
-rw-r--r-- | chrome/browser/internal_auth.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/internal_auth.cc b/chrome/browser/internal_auth.cc index aa7fe72..b610832 100644 --- a/chrome/browser/internal_auth.cc +++ b/chrome/browser/internal_auth.cc @@ -65,7 +65,7 @@ const char kItemSeparator = '\n'; const char kVarValueSeparator = '='; const size_t kKeySizeInBytes = 128 / 8; -const int kHMACSizeInBytes = 256 / 8; +const size_t kHMACSizeInBytes = 256 / 8; // Length of base64 string required to encode given number of raw octets. #define BASE64_PER_RAW(X) (X > 0 ? ((X - 1) / 3 + 1) * 4 : 0) |