diff options
Diffstat (limited to 'src/pkg/crypto/sha1/sha1block.go')
-rw-r--r-- | src/pkg/crypto/sha1/sha1block.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/crypto/sha1/sha1block.go b/src/pkg/crypto/sha1/sha1block.go index 2983bc705..ff11520c0 100644 --- a/src/pkg/crypto/sha1/sha1block.go +++ b/src/pkg/crypto/sha1/sha1block.go @@ -72,7 +72,7 @@ func _Block(dig *digest, p []byte) int { h3 += d; h4 += e; - p = p[_Chunk:len(p)]; + p = p[_Chunk:]; n += _Chunk; } |