mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-21 13:05:04 -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);
|
sfree(A);
|
||||||
smemclr(B, SIZE * sizeof(*B));
|
smemclr(B, SIZE * sizeof(*B));
|
||||||
sfree(B);
|
sfree(B);
|
||||||
smemclr(Ac, SIZE * sizeof(*A));
|
smemclr(Ac, SIZE * sizeof(*Ac));
|
||||||
sfree(Ac);
|
sfree(Ac);
|
||||||
smemclr(Bc, SIZE * sizeof(*B));
|
smemclr(Bc, SIZE * sizeof(*Bc));
|
||||||
sfree(Bc);
|
sfree(Bc);
|
||||||
|
|
||||||
return success;
|
return success;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user