diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 1999-11-11 23:46:10 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 1999-11-11 23:46:10 +0000 |
commit | 3f8bf4d81e2b57d11b3e959de349fc0fae5df55a (patch) | |
tree | 145d9501d7d60f665f31f28762b69edeeb658fb9 /usr.bin | |
parent | 952bc7afffd6f431ea78889c487c7c60de5b094b (diff) |
clear temp buffer
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/mpaux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/mpaux.c b/usr.bin/ssh/mpaux.c index 9dfa40bdd09..c1ed36ca2ad 100644 --- a/usr.bin/ssh/mpaux.c +++ b/usr.bin/ssh/mpaux.c @@ -15,7 +15,7 @@ precision integers. */ #include "includes.h" -RCSID("$Id: mpaux.c,v 1.4 1999/10/27 16:37:45 deraadt Exp $"); +RCSID("$Id: mpaux.c,v 1.5 1999/11/11 23:46:09 markus Exp $"); #include <ssl/bn.h> #include "getput.h" @@ -42,5 +42,6 @@ compute_session_id(unsigned char session_id[16], MD5_Init(&md); MD5_Update(&md, buf, bytes); MD5_Final(session_id, &md); + memset(buf, 0, bytes); xfree(buf); } |