summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-28 21:15:27 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-28 21:15:27 +0000
commitb13b9bdddf305f4992a97508a757600f40232faa (patch)
tree0649e1056f6e6c67921c7104ec406665c5c2b224 /crypto
parent927c151d93c1d458dc8e92e4b4dcb07874a0c436 (diff)
downloadchromium_src-b13b9bdddf305f4992a97508a757600f40232faa.zip
chromium_src-b13b9bdddf305f4992a97508a757600f40232faa.tar.gz
chromium_src-b13b9bdddf305f4992a97508a757600f40232faa.tar.bz2
Update SHA1_LENGTH -> kSHA1Length to match previous change to SHA256_LENGTH.
(I didn't try and understand or fix why kSHA1Length is in base:: while kSHA256Length is in crypto::.) BUG=92247 TEST=compiles Review URL: http://codereview.chromium.org/7972024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103179 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto')
-rw-r--r--crypto/sha2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/sha2.h b/crypto/sha2.h
index 6b2f83c..0ca1008 100644
--- a/crypto/sha2.h
+++ b/crypto/sha2.h
@@ -16,7 +16,7 @@ namespace crypto {
//
// Functions for SHA-384 and SHA-512 can be added when the need arises.
-static const size_t kSHA256Length = 32; // length in bytes of a SHA-256 hash
+static const size_t kSHA256Length = 32; // Length in bytes of a SHA-256 hash.
// Computes the SHA-256 hash of the input string 'str' and stores the first
// 'len' bytes of the hash in the output buffer 'output'. If 'len' > 32,