mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 07:44:29 +02:00
- djm@cvs.openbsd.org 2004/09/25 03:45:14
[sshd.c] these printf args are no longer double; ok deraadt@ markus@
This commit is contained in:
parent
39207a46b4
commit
3269b13817
@ -32,6 +32,9 @@
|
|||||||
- djm@cvs.openbsd.org 2004/09/23 13:00:04
|
- djm@cvs.openbsd.org 2004/09/23 13:00:04
|
||||||
[ssh.c]
|
[ssh.c]
|
||||||
correctly honour -n in multiplex client mode; spotted by sturm@ ok markus@
|
correctly honour -n in multiplex client mode; spotted by sturm@ ok markus@
|
||||||
|
- djm@cvs.openbsd.org 2004/09/25 03:45:14
|
||||||
|
[sshd.c]
|
||||||
|
these printf args are no longer double; ok deraadt@ markus@
|
||||||
|
|
||||||
20041102
|
20041102
|
||||||
- (dtucker) [configure.ac includes.h] Bug #947: Fix compile error on HP-UX
|
- (dtucker) [configure.ac includes.h] Bug #947: Fix compile error on HP-UX
|
||||||
@ -1811,4 +1814,4 @@
|
|||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3570 2004/11/05 09:19:51 dtucker Exp $
|
$Id: ChangeLog,v 1.3571 2004/11/05 09:20:59 dtucker Exp $
|
||||||
|
4
sshd.c
4
sshd.c
@ -42,7 +42,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: sshd.c,v 1.303 2004/09/15 18:42:27 mickey Exp $");
|
RCSID("$OpenBSD: sshd.c,v 1.304 2004/09/25 03:45:14 djm Exp $");
|
||||||
|
|
||||||
#include <openssl/dh.h>
|
#include <openssl/dh.h>
|
||||||
#include <openssl/bn.h>
|
#include <openssl/bn.h>
|
||||||
@ -765,7 +765,7 @@ drop_connection(int startups)
|
|||||||
p += options.max_startups_rate;
|
p += options.max_startups_rate;
|
||||||
r = arc4random() % 100;
|
r = arc4random() % 100;
|
||||||
|
|
||||||
debug("drop_connection: p %g, r %g", p, r);
|
debug("drop_connection: p %d, r %d", p, r);
|
||||||
return (r < p) ? 1 : 0;
|
return (r < p) ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user