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 | |
parent | 5d57e5073034b41c11366153f3853143c9ce07c0 (diff) |
- OpenBSD CVS Sync
- provos@cvs.openbsd.org 2001/03/29 14:24:59
[sshconnect2.c]
use recommended defaults
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sshconnect2.c | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -10,6 +10,9 @@ | |||
10 | - markus@cvs.openbsd.org 2001/03/28 22:43:31 | 10 | - markus@cvs.openbsd.org 2001/03/28 22:43:31 |
11 | [auth.h auth2.c auth2-chall.c] | 11 | [auth.h auth2.c auth2-chall.c] |
12 | check auth_root_allowed for kbd-int auth, too. | 12 | check auth_root_allowed for kbd-int auth, too. |
13 | - provos@cvs.openbsd.org 2001/03/29 14:24:59 | ||
14 | [sshconnect2.c] | ||
15 | use recommended defaults | ||
13 | 16 | ||
14 | 20010329 | 17 | 20010329 |
15 | - OpenBSD CVS Sync | 18 | - OpenBSD CVS Sync |
@@ -4780,4 +4783,4 @@ | |||
4780 | - Wrote replacements for strlcpy and mkdtemp | 4783 | - Wrote replacements for strlcpy and mkdtemp |
4781 | - Released 1.0pre1 | 4784 | - Released 1.0pre1 |
4782 | 4785 | ||
4783 | $Id: ChangeLog,v 1.1038 2001/03/30 00:48:31 djm Exp $ | 4786 | $Id: ChangeLog,v 1.1039 2001/03/30 00:49:05 djm Exp $ |
diff --git a/sshconnect2.c b/sshconnect2.c index 7a8c77b67..69249c384 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: sshconnect2.c,v 1.58 2001/03/28 21:59:40 provos Exp $"); | 26 | RCSID("$OpenBSD: sshconnect2.c,v 1.59 2001/03/29 14:24:59 provos Exp $"); |
27 | 27 | ||
28 | #include <openssl/bn.h> | 28 | #include <openssl/bn.h> |
29 | #include <openssl/md5.h> | 29 | #include <openssl/md5.h> |
@@ -336,7 +336,7 @@ ssh_dhgex_client(Kex *kex, char *host, struct sockaddr *hostaddr, | |||
336 | 336 | ||
337 | /* New GEX request */ | 337 | /* New GEX request */ |
338 | min = DH_GRP_MIN; | 338 | min = DH_GRP_MIN; |
339 | max = MIN(DH_GRP_MAX, nbits * 1.25); | 339 | max = DH_GRP_MAX; |
340 | 340 | ||
341 | packet_start(SSH2_MSG_KEX_DH_GEX_REQUEST); | 341 | packet_start(SSH2_MSG_KEX_DH_GEX_REQUEST); |
342 | packet_put_int(min); | 342 | packet_put_int(min); |