diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-11-05 20:20:59 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-11-05 20:20:59 +1100 |
commit | 3269b13817f7da680a4da4a00b13948ccbb17a22 (patch) | |
tree | cf93cf2f5ead4c54d95848d9037210011be6d098 | |
parent | 39207a46b4b0d3d9c3ef8d03e9d3c6d5e11df9ec (diff) |
- djm@cvs.openbsd.org 2004/09/25 03:45:14
[sshd.c]
these printf args are no longer double; ok deraadt@ markus@
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sshd.c | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -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 | ||
36 | 20041102 | 39 | 20041102 |
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 $ |
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.303 2004/09/15 18:42:27 mickey Exp $"); | 45 | RCSID("$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 | ||