mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-11 08:08:06 -05:00
ntru.c: fix benign paste error.
smemclr(array, ... * sizeof(*different_array)) was not what I meant to do, even though the two arrays have the same element size.
This commit is contained in:
parent
e94097ccf6
commit
52f296b7e2
@ -395,9 +395,9 @@ unsigned ntru_ring_invert(uint16_t *out, const uint16_t *in,
|
||||
sfree(A);
|
||||
smemclr(B, SIZE * sizeof(*B));
|
||||
sfree(B);
|
||||
smemclr(Ac, SIZE * sizeof(*A));
|
||||
smemclr(Ac, SIZE * sizeof(*Ac));
|
||||
sfree(Ac);
|
||||
smemclr(Bc, SIZE * sizeof(*B));
|
||||
smemclr(Bc, SIZE * sizeof(*Bc));
|
||||
sfree(Bc);
|
||||
|
||||
return success;
|
||||
|
Loading…
x
Reference in New Issue
Block a user