[sshd.c]
     use u_char* here; ok markus@
This commit is contained in:
Ben Lindstrom 2002-02-26 18:00:48 +00:00
parent 14519086e4
commit 13c5d3b370
2 changed files with 6 additions and 3 deletions

View File

@ -26,6 +26,9 @@
- markus@cvs.openbsd.org 2002/02/23 17:59:02
[kex.c kexdh.c kexgex.c]
don't allow garbage after payload.
- stevesk@cvs.openbsd.org 2002/02/24 16:09:52
[sshd.c]
use u_char* here; ok markus@
20020225
- (bal) Last AIX patch. Moved aix_usrinfo() outside of do_setuserconext()
@ -7699,4 +7702,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1880 2002/02/26 17:58:29 mouring Exp $
$Id: ChangeLog,v 1.1881 2002/02/26 18:00:48 mouring Exp $

4
sshd.c
View File

@ -40,7 +40,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: sshd.c,v 1.226 2002/02/11 16:19:39 markus Exp $");
RCSID("$OpenBSD: sshd.c,v 1.227 2002/02/24 16:09:52 stevesk Exp $");
#include <openssl/dh.h>
#include <openssl/bn.h>
@ -1434,7 +1434,7 @@ do_ssh1_kex(void)
}
if (rsafail) {
int bytes = BN_num_bytes(session_key_int);
char *buf = xmalloc(bytes);
u_char *buf = xmalloc(bytes);
MD5_CTX md;
log("do_connection: generating a fake encryption key");