summaryrefslogtreecommitdiffstats
path: root/crypto/hmac_unittest.cc
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-04 00:50:35 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-04 00:50:35 +0000
commit673266c4267a4bee5c8e63934d65f9accd534f42 (patch)
tree4bff6f58cddc30a7e7206fd37d9ed50f3b43bd21 /crypto/hmac_unittest.cc
parent62e832e0f78a47a64d2a9e19757d89f144e04993 (diff)
downloadchromium_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 'crypto/hmac_unittest.cc')
-rw-r--r--crypto/hmac_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac_unittest.cc b/crypto/hmac_unittest.cc
index f5d9906..f0844a9 100644
--- a/crypto/hmac_unittest.cc
+++ b/crypto/hmac_unittest.cc
@@ -16,7 +16,7 @@ static const char* kSimpleKey =
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA";
-static const int kSimpleKeyLength = 80;
+static const size_t kSimpleKeyLength = 80;
static const struct {
const char *data;