diff options
| author | 2008-01-19 23:09:49 +0000 | |
|---|---|---|
| committer | 2008-01-19 23:09:49 +0000 | |
| commit | 293a91f9f0343d95c13ffee3ba1fcba8ce4f127f (patch) | |
| tree | c937eeee587cffb912201ad96f2312c9b0a349cd /usr.bin/ssh/sshconnect2.c | |
| parent | some usb devices stale (getstring: ioctl: Input/output error) if a (diff) | |
| download | wireguard-openbsd-293a91f9f0343d95c13ffee3ba1fcba8ce4f127f.tar.xz wireguard-openbsd-293a91f9f0343d95c13ffee3ba1fcba8ce4f127f.zip | |
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 'usr.bin/ssh/sshconnect2.c')
| -rw-r--r-- | usr.bin/ssh/sshconnect2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c index 05f2441f515..cbaecfff749 100644 --- a/usr.bin/ssh/sshconnect2.c +++ b/usr.bin/ssh/sshconnect2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect2.c,v 1.164 2007/05/17 23:53:41 jolan Exp $ */ +/* $OpenBSD: sshconnect2.c,v 1.165 2008/01/19 23:09:49 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -126,7 +126,7 @@ ssh_kex2(char *host, struct sockaddr *hostaddr) options.hostkeyalgorithms; if (options.rekey_limit) - packet_set_rekey_limit(options.rekey_limit); + packet_set_rekey_limit((u_int32_t)options.rekey_limit); /* start key exchange */ kex = kex_setup(myproposal); |
