summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-02-10 22:25:52 +1100
committerDamien Miller <djm@mindrot.org>2008-02-10 22:25:52 +1100
commit3dff176ed9509b5bd92947b9504545495a2052cc (patch)
treefbd3f0d740ebd8e9c00ce2d4a621d416c49cb985 /sshconnect2.c
parent3de49f8951d8ea4401b0a8ec053fd51d6f309cbe (diff)
- djm@cvs.openbsd.org 2008/01/19 23:09:49
[readconf.c readconf.h sshconnect2.c] promote rekeylimit to a int64 so it can hold the maximum useful limit of 2^32; report and patch from Jan.Pechanec AT Sun.COM, ok dtucker@
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 208df078c..5bb772368 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect2.c,v 1.164 2007/05/17 23:53:41 jolan Exp $ */ 1/* $OpenBSD: sshconnect2.c,v 1.165 2008/01/19 23:09:49 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -130,7 +130,7 @@ ssh_kex2(char *host, struct sockaddr *hostaddr)
130 options.hostkeyalgorithms; 130 options.hostkeyalgorithms;
131 131
132 if (options.rekey_limit) 132 if (options.rekey_limit)
133 packet_set_rekey_limit(options.rekey_limit); 133 packet_set_rekey_limit((u_int32_t)options.rekey_limit);
134 134
135 /* start key exchange */ 135 /* start key exchange */
136 kex = kex_setup(myproposal); 136 kex = kex_setup(myproposal);