DescriptionFix a bug in the string wrapper for SHA256HashString.
The wrapper was using the size of the input string as the number of hash bytes
to compute, rather than the size of the output string (SHA256_LENGTH). Added a
test for this.
BUG=none
TEST=Sha256Test.Test1_String
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60491
Patch Set 1 #Patch Set 2 : fix compile on windows #
Messages
Total messages: 4 (0 generated)
|