diff options
author | Damien Miller <djm@mindrot.org> | 1999-11-12 15:19:27 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-11-12 15:19:27 +1100 |
commit | 6d7b2cd1a32efa2a40c97361065d357a2e60b716 (patch) | |
tree | 9c34abc2723760ce00b6f3867d7e0cfbd6a7424e /mpaux.c | |
parent | b5f8927a7e3f25cef4c66603a780176e1b9f6082 (diff) |
- Merged yet more changes from OpenBSD CVS
- [auth-rh-rsa.c auth-rhosts.c auth-rsa.c channels.c clientloop.c]
[ssh.c ssh.h sshconnect.c sshd.c]
make all access to options via 'extern Options options'
and 'extern ServerOptions options' respectively;
options are no longer passed as arguments:
* make options handling more consistent
* remove #include "readconf.h" from ssh.h
* readconf.h is only included if necessary
- [mpaux.c] clear temp buffer
- [servconf.c] print _all_ bad options found in configfile
Diffstat (limited to 'mpaux.c')
-rw-r--r-- | mpaux.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -16,7 +16,7 @@ precision integers. | |||
16 | 16 | ||
17 | #include "config.h" | 17 | #include "config.h" |
18 | #include "includes.h" | 18 | #include "includes.h" |
19 | RCSID("$Id: mpaux.c,v 1.3 1999/10/28 05:23:30 damien Exp $"); | 19 | RCSID("$Id: mpaux.c,v 1.4 1999/11/12 04:19:27 damien Exp $"); |
20 | 20 | ||
21 | #ifdef HAVE_OPENSSL | 21 | #ifdef HAVE_OPENSSL |
22 | #include <openssl/bn.h> | 22 | #include <openssl/bn.h> |
@@ -50,5 +50,6 @@ compute_session_id(unsigned char session_id[16], | |||
50 | MD5_Init(&md); | 50 | MD5_Init(&md); |
51 | MD5_Update(&md, buf, bytes); | 51 | MD5_Update(&md, buf, bytes); |
52 | MD5_Final(session_id, &md); | 52 | MD5_Final(session_id, &md); |
53 | memset(buf, 0, bytes); | ||
53 | xfree(buf); | 54 | xfree(buf); |
54 | } | 55 | } |