projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sumudu Fernando points out that in the big r9214 destabilisation I
[u/mdw/putty]
/
sshbn.c
diff --git
a/sshbn.c
b/sshbn.c
index
484c423
..
999817d
100644
(file)
--- a/
sshbn.c
+++ b/
sshbn.c
@@
-148,7
+148,7
@@
void freebn(Bignum b)
/*
* Burn the evidence, just in case.
*/
/*
* Burn the evidence, just in case.
*/
-
memset(b, 0
, sizeof(b[0]) * (b[0] + 1));
+
smemclr(b
, sizeof(b[0]) * (b[0] + 1));
sfree(b);
}
sfree(b);
}