summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-09-23 17:15:56 +1100
committerDamien Miller <djm@mindrot.org>2000-09-23 17:15:56 +1100
commit62cee00753ef8ce31b322ce6a14318cb974e883d (patch)
tree9a4dedd152d4570a99744eb9f32fe7e70461edfc /sshd.c
parentf056e23dd6f7fad96afb9e0f5a64dce4f6045cc7 (diff)
- (djm) OpenBSD CVS sync:
- markus@cvs.openbsd.org 2000/09/17 09:38:59 [sshconnect2.c sshd.c] fix DEBUG_KEXDH - markus@cvs.openbsd.org 2000/09/17 09:52:51 [sshconnect.c] yes no; ok niels@ - markus@cvs.openbsd.org 2000/09/21 04:55:11 [sshd.8] typo - markus@cvs.openbsd.org 2000/09/21 05:03:54 [serverloop.c] typo - markus@cvs.openbsd.org 2000/09/21 05:11:42 scp.c utime() to utimes(); mouring@pconline.com - markus@cvs.openbsd.org 2000/09/21 05:25:08 sshconnect2.c change login logic in ssh2, allows plugin of other auth methods - markus@cvs.openbsd.org 2000/09/21 05:25:35 [auth2.c channels.c channels.h clientloop.c dispatch.c dispatch.h] [serverloop.c] add context to dispatch_run - markus@cvs.openbsd.org 2000/09/21 05:07:52 authfd.c authfd.h ssh-agent.c bug compat for old ssh.com software
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sshd.c b/sshd.c
index e94b5d11d..c11a89609 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.127 2000/09/12 20:53:10 markus Exp $"); 43RCSID("$OpenBSD: sshd.c,v 1.128 2000/09/17 15:38:59 markus Exp $");
44 44
45#include "xmalloc.h" 45#include "xmalloc.h"
46#include "rsa.h" 46#include "rsa.h"
@@ -1336,7 +1336,7 @@ do_ssh2_kex()
1336 1336
1337#ifdef DEBUG_KEXDH 1337#ifdef DEBUG_KEXDH
1338 fprintf(stderr, "\ndh_client_pub= "); 1338 fprintf(stderr, "\ndh_client_pub= ");
1339 bignum_print(dh_client_pub); 1339 BN_print_fp(stderr, dh_client_pub);
1340 fprintf(stderr, "\n"); 1340 fprintf(stderr, "\n");
1341 debug("bits %d", BN_num_bits(dh_client_pub)); 1341 debug("bits %d", BN_num_bits(dh_client_pub));
1342#endif 1342#endif
@@ -1346,12 +1346,13 @@ do_ssh2_kex()
1346 1346
1347#ifdef DEBUG_KEXDH 1347#ifdef DEBUG_KEXDH
1348 fprintf(stderr, "\np= "); 1348 fprintf(stderr, "\np= ");
1349 bignum_print(dh->p); 1349 BN_print_fp(stderr, dh->p);
1350 fprintf(stderr, "\ng= "); 1350 fprintf(stderr, "\ng= ");
1351 bignum_print(dh->g); 1351 bn_print(dh->g);
1352 fprintf(stderr, "\npub= "); 1352 fprintf(stderr, "\npub= ");
1353 bignum_print(dh->pub_key); 1353 BN_print_fp(stderr, dh->pub_key);
1354 fprintf(stderr, "\n"); 1354 fprintf(stderr, "\n");
1355 DHparams_print_fp(stderr, dh);
1355#endif 1356#endif
1356 if (!dh_pub_is_valid(dh, dh_client_pub)) 1357 if (!dh_pub_is_valid(dh, dh_client_pub))
1357 packet_disconnect("bad client public DH value"); 1358 packet_disconnect("bad client public DH value");