aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/hash/crc32/crc32.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/hash/crc32/crc32.go')
-rw-r--r--libgo/go/hash/crc32/crc32.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/hash/crc32/crc32.go b/libgo/go/hash/crc32/crc32.go
index 557fab8..236d778 100644
--- a/libgo/go/hash/crc32/crc32.go
+++ b/libgo/go/hash/crc32/crc32.go
@@ -94,6 +94,8 @@ func NewIEEE() hash.Hash32 { return New(IEEETable) }
func (d *digest) Size() int { return Size }
+func (d *digest) BlockSize() int { return 1 }
+
func (d *digest) Reset() { d.crc = 0 }
func update(crc uint32, tab *Table, p []byte) uint32 {