- 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:
Darren Tucker 2004-11-05 20:20:59 +11:00
parent 39207a46b4
commit 3269b13817
2 changed files with 6 additions and 3 deletions

View File

@ -32,6 +32,9 @@
- djm@cvs.openbsd.org 2004/09/23 13:00:04
[ssh.c]
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
- (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) 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
View File

@ -42,7 +42,7 @@
*/
#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/bn.h>
@ -765,7 +765,7 @@ drop_connection(int startups)
p += options.max_startups_rate;
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;
}