summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshd.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2002-02-24 16:09:53 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2002-02-24 16:09:53 +0000
commit98c358835a8475da607fd83928d72a273e16c0bc (patch)
tree1100f94c29cdac0fd4206071adaa9d498a70bea2 /usr.bin/ssh/sshd.c
parent75e816c996bb81ac1309ca7319d95880b529d118 (diff)
use u_char* here; ok markus@
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r--usr.bin/ssh/sshd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index cc5e2843693..a8abf4e17c4 100644
--- a/usr.bin/ssh/sshd.c
+++ b/usr.bin/ssh/sshd.c
@@ -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>
@@ -1401,7 +1401,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");