diff options
Diffstat (limited to 'libgo/go/hash/adler32/adler32.go')
-rw-r--r-- | libgo/go/hash/adler32/adler32.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/hash/adler32/adler32.go b/libgo/go/hash/adler32/adler32.go index 8103a89..64fe68c 100644 --- a/libgo/go/hash/adler32/adler32.go +++ b/libgo/go/hash/adler32/adler32.go @@ -38,6 +38,8 @@ func New() hash.Hash32 { func (d *digest) Size() int { return Size } +func (d *digest) BlockSize() int { return 1 } + // Add p to the running checksum a, b. func update(a, b uint32, p []byte) (aa, bb uint32) { for _, pi := range p { |