diff options
author | Damien Miller <djm@mindrot.org> | 2001-03-30 10:49:05 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-03-30 10:49:05 +1000 |
commit | 653ae11c4a24a50188a57f51459d795e16d1a7b8 (patch) | |
tree | 7266b6942959ed7070275f9097d2e707d4898330 /sshconnect2.c | |
parent | 5d57e5073034b41c11366153f3853143c9ce07c0 (diff) | |
download | openssh-git-653ae11c4a24a50188a57f51459d795e16d1a7b8.tar.gz |
- OpenBSD CVS Sync
- provos@cvs.openbsd.org 2001/03/29 14:24:59
[sshconnect2.c]
use recommended defaults
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index 7a8c77b6..69249c38 100644 --- a/sshconnect2.c +++ b/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); |