sha256: do not artificially restrict buffer length to be < 2^32
authorJim Meyering <meyering@redhat.com>
Mon, 26 May 2008 17:29:50 +0000 (19:29 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 26 May 2008 17:29:50 +0000 (19:29 +0200)
commitef5f9af1559b043755d0af03c31676cd66fa40e7
tree53b57350c749e362f10ed071ea1b0f422765bd7b
parente341e7caaea9a3fd5f311195b023af8d280944fa
sha256: do not artificially restrict buffer length to be < 2^32

* lib/sha256.h (struct sha256_ctx) [buflen]: Change type from
uint32_t to size_t.
* lib/sha256.c (sha256_conclude_ctx): Change type of a local
to match.
ChangeLog
lib/sha256.c
lib/sha256.h