vlib.crypto+other: fix mut args

This commit is contained in:
joe-conigliaro 2019-08-07 21:37:07 +10:00 committed by Alexander Medvednikov
parent 818c4a14e5
commit 511a3d3901
15 changed files with 53 additions and 43 deletions

View file

@ -17,7 +17,8 @@ const (
_K3 = 0xCA62C1D6
)
fn block_generic(dig mut Digest, p []byte) {
fn block_generic(dig mut Digest, p_ []byte) {
mut p := p_
mut w := [u32(0); 16]
mut h0 := dig.h[0]
mut h1 := dig.h[1]