summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2001-03-29 14:25:00 +0000
committerNiels Provos <provos@cvs.openbsd.org>2001-03-29 14:25:00 +0000
commitccba277a14894b40c5570ad175eadbda9063b6de (patch)
treec39ba7b50af1fe9d3229cb65108fc1509706866e
parent7ca36f96bb0c2de0fb9bdf779b765e4d5b4a491c (diff)
use recommended defaults
-rw-r--r--usr.bin/ssh/sshconnect2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c
index 7a8c77b670f..69249c384a4 100644
--- a/usr.bin/ssh/sshconnect2.c
+++ b/usr.bin/ssh/sshconnect2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshconnect2.c,v 1.58 2001/03/28 21:59:40 provos Exp $");
+RCSID("$OpenBSD: sshconnect2.c,v 1.59 2001/03/29 14:24:59 provos Exp $");
#include <openssl/bn.h>
#include <openssl/md5.h>
@@ -336,7 +336,7 @@ ssh_dhgex_client(Kex *kex, char *host, struct sockaddr *hostaddr,
/* New GEX request */
min = DH_GRP_MIN;
- max = MIN(DH_GRP_MAX, nbits * 1.25);
+ max = DH_GRP_MAX;
packet_start(SSH2_MSG_KEX_DH_GEX_REQUEST);
packet_put_int(min);