summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c4
1 files changed, 2 insertions, 2 deletions
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"
26RCSID("$OpenBSD: sshconnect2.c,v 1.58 2001/03/28 21:59:40 provos Exp $"); 26RCSID("$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);