projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generalise SSH_MSG_CHANNEL_{SUCCESS,FAILURE} handling.
[u/mdw/putty]
/
sshsha.c
diff --git
a/sshsha.c
b/sshsha.c
index
cbe9d78
..
3011351
100644
(file)
--- a/
sshsha.c
+++ b/
sshsha.c
@@
-253,7
+253,7
@@
static void sha1_key_internal(void *handle, unsigned char *key, int len)
SHA_Init(&keys[1]);
SHA_Bytes(&keys[1], foo, 64);
SHA_Init(&keys[1]);
SHA_Bytes(&keys[1], foo, 64);
-
memset(foo, 0, 64);
/* burn the evidence */
+
smemclr(foo, 64);
/* burn the evidence */
}
static void sha1_key(void *handle, unsigned char *key)
}
static void sha1_key(void *handle, unsigned char *key)