summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:14:44 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:14:44 +1100
commitd432ccf7403b725fce590818a85804625b7cad20 (patch)
tree68adfe68b2af47841282cf1898ef94ca36ac26c0 /sshd.c
parent29f75f5c25b9645227fe851c46f54bc83c91a0af (diff)
- markus@cvs.openbsd.org 2001/12/28 13:57:33
[auth1.c kexdh.c kexgex.c packet.c packet.h sshconnect1.c sshd.c] packet_get_bignum* no longer returns a size
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshd.c b/sshd.c
index b5f995c06..39b58a43e 100644
--- a/sshd.c
+++ b/sshd.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: sshd.c,v 1.220 2001/12/28 12:14:27 markus Exp $"); 43RCSID("$OpenBSD: sshd.c,v 1.221 2001/12/28 13:57:33 markus Exp $");
44 44
45#include <openssl/dh.h> 45#include <openssl/dh.h>
46#include <openssl/bn.h> 46#include <openssl/bn.h>
@@ -1251,7 +1251,7 @@ static void
1251do_ssh1_kex(void) 1251do_ssh1_kex(void)
1252{ 1252{
1253 int i, len; 1253 int i, len;
1254 int plen, slen; 1254 int plen;
1255 int rsafail = 0; 1255 int rsafail = 0;
1256 BIGNUM *session_key_int; 1256 BIGNUM *session_key_int;
1257 u_char session_key[SSH_SESSION_KEY_LENGTH]; 1257 u_char session_key[SSH_SESSION_KEY_LENGTH];
@@ -1354,7 +1354,7 @@ do_ssh1_kex(void)
1354 /* Get the encrypted integer. */ 1354 /* Get the encrypted integer. */
1355 if ((session_key_int = BN_new()) == NULL) 1355 if ((session_key_int = BN_new()) == NULL)
1356 fatal("do_ssh1_kex: BN_new failed"); 1356 fatal("do_ssh1_kex: BN_new failed");
1357 packet_get_bignum(session_key_int, &slen); 1357 packet_get_bignum(session_key_int);
1358 1358
1359 protocol_flags = packet_get_int(); 1359 protocol_flags = packet_get_int();
1360 packet_set_protocol_flags(protocol_flags); 1360 packet_set_protocol_flags(protocol_flags);