summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sshd.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 17750e92c..8361e329e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -32,6 +32,9 @@
32 - djm@cvs.openbsd.org 2004/09/23 13:00:04 32 - djm@cvs.openbsd.org 2004/09/23 13:00:04
33 [ssh.c] 33 [ssh.c]
34 correctly honour -n in multiplex client mode; spotted by sturm@ ok markus@ 34 correctly honour -n in multiplex client mode; spotted by sturm@ ok markus@
35 - djm@cvs.openbsd.org 2004/09/25 03:45:14
36 [sshd.c]
37 these printf args are no longer double; ok deraadt@ markus@
35 38
3620041102 3920041102
37 - (dtucker) [configure.ac includes.h] Bug #947: Fix compile error on HP-UX 40 - (dtucker) [configure.ac includes.h] Bug #947: Fix compile error on HP-UX
@@ -1811,4 +1814,4 @@
1811 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 1814 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
1812 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 1815 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
1813 1816
1814$Id: ChangeLog,v 1.3570 2004/11/05 09:19:51 dtucker Exp $ 1817$Id: ChangeLog,v 1.3571 2004/11/05 09:20:59 dtucker Exp $
diff --git a/sshd.c b/sshd.c
index 2afe316cf..92b1df10c 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
42 */ 42 */
43 43
44#include "includes.h" 44#include "includes.h"
45RCSID("$OpenBSD: sshd.c,v 1.303 2004/09/15 18:42:27 mickey Exp $"); 45RCSID("$OpenBSD: sshd.c,v 1.304 2004/09/25 03:45:14 djm Exp $");
46 46
47#include <openssl/dh.h> 47#include <openssl/dh.h>
48#include <openssl/bn.h> 48#include <openssl/bn.h>
@@ -765,7 +765,7 @@ drop_connection(int startups)
765 p += options.max_startups_rate; 765 p += options.max_startups_rate;
766 r = arc4random() % 100; 766 r = arc4random() % 100;
767 767
768 debug("drop_connection: p %g, r %g", p, r); 768 debug("drop_connection: p %d, r %d", p, r);
769 return (r < p) ? 1 : 0; 769 return (r < p) ? 1 : 0;
770} 770}
771 771