summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
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");