summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--auth.c5
-rw-r--r--clientloop.c3
-rw-r--r--includes.h5
-rw-r--r--misc.c5
-rw-r--r--monitor.c6
-rw-r--r--readpass.c6
-rw-r--r--session.c4
-rw-r--r--sftp.c5
-rw-r--r--ssh-agent.c5
-rw-r--r--ssh-keysign.c4
-rw-r--r--ssh.c4
-rw-r--r--sshconnect.c4
-rw-r--r--sshd.c4
-rw-r--r--sshpty.c8
15 files changed, 54 insertions, 21 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b2a76585..e00c31d5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,11 @@
26 - stevesk@cvs.openbsd.org 2006/02/07 03:59:20 26 - stevesk@cvs.openbsd.org 2006/02/07 03:59:20
27 [deattack.c] 27 [deattack.c]
28 duplicate #include 28 duplicate #include
29 - stevesk@cvs.openbsd.org 2006/02/08 12:15:27
30 [auth.c clientloop.c includes.h misc.c monitor.c readpass.c]
31 [session.c sftp.c ssh-agent.c ssh-keysign.c ssh.c sshconnect.c]
32 [sshd.c sshpty.c]
33 move #include <paths.h> out of includes.h; ok markus@
29 34
3020060313 3520060313
31 - (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong) 36 - (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
@@ -3927,4 +3932,4 @@
3927 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 3932 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
3928 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 3933 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
3929 3934
3930$Id: ChangeLog,v 1.4147 2006/03/15 00:12:38 djm Exp $ 3935$Id: ChangeLog,v 1.4148 2006/03/15 00:16:59 djm Exp $
diff --git a/auth.c b/auth.c
index 2dc5c2be6..94c4a3eb8 100644
--- a/auth.c
+++ b/auth.c
@@ -23,8 +23,11 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth.c,v 1.60 2005/06/17 02:44:32 djm Exp $"); 26RCSID("$OpenBSD: auth.c,v 1.61 2006/02/08 12:15:27 stevesk Exp $");
27 27
28#ifdef HAVE_PATHS_H
29# include <paths.h>
30#endif
28#ifdef HAVE_LOGIN_H 31#ifdef HAVE_LOGIN_H
29#include <login.h> 32#include <login.h>
30#endif 33#endif
diff --git a/clientloop.c b/clientloop.c
index c43a50b25..893ba30ff 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -59,8 +59,9 @@
59 */ 59 */
60 60
61#include "includes.h" 61#include "includes.h"
62RCSID("$OpenBSD: clientloop.c,v 1.150 2006/02/07 01:42:00 stevesk Exp $"); 62RCSID("$OpenBSD: clientloop.c,v 1.151 2006/02/08 12:15:27 stevesk Exp $");
63 63
64#include <paths.h>
64#include <termios.h> 65#include <termios.h>
65 66
66#include "ssh.h" 67#include "ssh.h"
diff --git a/includes.h b/includes.h
index db2f2f5a2..85a907ceb 100644
--- a/includes.h
+++ b/includes.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: includes.h,v 1.25 2006/02/07 01:42:00 stevesk Exp $ */ 1/* $OpenBSD: includes.h,v 1.26 2006/02/08 12:15:27 stevesk Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -90,9 +90,6 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
90#ifdef HAVE_LASTLOG_H 90#ifdef HAVE_LASTLOG_H
91# include <lastlog.h> 91# include <lastlog.h>
92#endif 92#endif
93#ifdef HAVE_PATHS_H
94# include <paths.h> /* For _PATH_XXX */
95#endif
96 93
97#include <sys/types.h> 94#include <sys/types.h>
98#include <sys/socket.h> 95#include <sys/socket.h>
diff --git a/misc.c b/misc.c
index 29e928886..a80eedb1c 100644
--- a/misc.c
+++ b/misc.c
@@ -24,8 +24,11 @@
24 */ 24 */
25 25
26#include "includes.h" 26#include "includes.h"
27RCSID("$OpenBSD: misc.c,v 1.42 2006/01/31 10:19:02 djm Exp $"); 27RCSID("$OpenBSD: misc.c,v 1.43 2006/02/08 12:15:27 stevesk Exp $");
28 28
29#ifdef HAVE_PATHS_H
30# include <paths.h>
31#endif
29#ifdef SSH_TUN_OPENBSD 32#ifdef SSH_TUN_OPENBSD
30#include <net/if.h> 33#include <net/if.h>
31#endif 34#endif
diff --git a/monitor.c b/monitor.c
index e6f648b0b..1d6fcf1d8 100644
--- a/monitor.c
+++ b/monitor.c
@@ -25,14 +25,16 @@
25 */ 25 */
26 26
27#include "includes.h" 27#include "includes.h"
28RCSID("$OpenBSD: monitor.c,v 1.64 2005/10/13 22:24:31 stevesk Exp $"); 28RCSID("$OpenBSD: monitor.c,v 1.65 2006/02/08 12:15:27 stevesk Exp $");
29 29
30#include <openssl/dh.h> 30#include <paths.h>
31 31
32#ifdef SKEY 32#ifdef SKEY
33#include <skey.h> 33#include <skey.h>
34#endif 34#endif
35 35
36#include <openssl/dh.h>
37
36#include "ssh.h" 38#include "ssh.h"
37#include "auth.h" 39#include "auth.h"
38#include "kex.h" 40#include "kex.h"
diff --git a/readpass.c b/readpass.c
index 7914799a4..a9b99617a 100644
--- a/readpass.c
+++ b/readpass.c
@@ -23,7 +23,11 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: readpass.c,v 1.33 2005/05/02 21:13:22 markus Exp $"); 26RCSID("$OpenBSD: readpass.c,v 1.34 2006/02/08 12:15:27 stevesk Exp $");
27
28#ifdef HAVE_PATHS_H
29# include <paths.h>
30#endif
27 31
28#include "xmalloc.h" 32#include "xmalloc.h"
29#include "misc.h" 33#include "misc.h"
diff --git a/session.c b/session.c
index 0cbd5fbb2..88e0a04d2 100644
--- a/session.c
+++ b/session.c
@@ -33,7 +33,9 @@
33 */ 33 */
34 34
35#include "includes.h" 35#include "includes.h"
36RCSID("$OpenBSD: session.c,v 1.191 2005/12/24 02:27:41 djm Exp $"); 36RCSID("$OpenBSD: session.c,v 1.192 2006/02/08 12:15:27 stevesk Exp $");
37
38#include <paths.h>
37 39
38#include "ssh.h" 40#include "ssh.h"
39#include "ssh1.h" 41#include "ssh1.h"
diff --git a/sftp.c b/sftp.c
index a2e3f6aad..877632ec3 100644
--- a/sftp.c
+++ b/sftp.c
@@ -16,8 +16,11 @@
16 16
17#include "includes.h" 17#include "includes.h"
18 18
19RCSID("$OpenBSD: sftp.c,v 1.70 2006/01/31 10:19:02 djm Exp $"); 19RCSID("$OpenBSD: sftp.c,v 1.71 2006/02/08 12:15:27 stevesk Exp $");
20 20
21#ifdef HAVE_PATHS_H
22# include <paths.h>
23#endif
21#ifdef USE_LIBEDIT 24#ifdef USE_LIBEDIT
22#include <histedit.h> 25#include <histedit.h>
23#else 26#else
diff --git a/ssh-agent.c b/ssh-agent.c
index cfeeebb50..87381f09f 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -35,8 +35,11 @@
35 35
36#include "includes.h" 36#include "includes.h"
37#include "openbsd-compat/sys-queue.h" 37#include "openbsd-compat/sys-queue.h"
38RCSID("$OpenBSD: ssh-agent.c,v 1.125 2006/02/07 01:18:09 stevesk Exp $"); 38RCSID("$OpenBSD: ssh-agent.c,v 1.126 2006/02/08 12:15:27 stevesk Exp $");
39 39
40#ifdef HAVE_PATHS_H
41# include <paths.h>
42#endif
40#include <openssl/evp.h> 43#include <openssl/evp.h>
41#include <openssl/md5.h> 44#include <openssl/md5.h>
42 45
diff --git a/ssh-keysign.c b/ssh-keysign.c
index dae3a2e8c..f2ee214e1 100644
--- a/ssh-keysign.c
+++ b/ssh-keysign.c
@@ -22,7 +22,9 @@
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24#include "includes.h" 24#include "includes.h"
25RCSID("$OpenBSD: ssh-keysign.c,v 1.19 2005/09/13 23:40:07 djm Exp $"); 25RCSID("$OpenBSD: ssh-keysign.c,v 1.20 2006/02/08 12:15:27 stevesk Exp $");
26
27#include <paths.h>
26 28
27#include <openssl/evp.h> 29#include <openssl/evp.h>
28#include <openssl/rand.h> 30#include <openssl/rand.h>
diff --git a/ssh.c b/ssh.c
index 3940dabfd..b248c0280 100644
--- a/ssh.c
+++ b/ssh.c
@@ -40,7 +40,9 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: ssh.c,v 1.257 2005/12/20 04:41:07 dtucker Exp $"); 43RCSID("$OpenBSD: ssh.c,v 1.258 2006/02/08 12:15:27 stevesk Exp $");
44
45#include <paths.h>
44 46
45#include <openssl/evp.h> 47#include <openssl/evp.h>
46#include <openssl/err.h> 48#include <openssl/err.h>
diff --git a/sshconnect.c b/sshconnect.c
index 64ffec240..9da911c4c 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -13,7 +13,9 @@
13 */ 13 */
14 14
15#include "includes.h" 15#include "includes.h"
16RCSID("$OpenBSD: sshconnect.c,v 1.171 2005/12/06 22:38:27 reyk Exp $"); 16RCSID("$OpenBSD: sshconnect.c,v 1.172 2006/02/08 12:15:27 stevesk Exp $");
17
18#include <paths.h>
17 19
18#include <openssl/bn.h> 20#include <openssl/bn.h>
19 21
diff --git a/sshd.c b/sshd.c
index def90d827..10f9f52a5 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,9 @@
42 */ 42 */
43 43
44#include "includes.h" 44#include "includes.h"
45RCSID("$OpenBSD: sshd.c,v 1.318 2005/12/24 02:27:41 djm Exp $"); 45RCSID("$OpenBSD: sshd.c,v 1.319 2006/02/08 12:15:27 stevesk Exp $");
46
47#include <paths.h>
46 48
47#include <openssl/dh.h> 49#include <openssl/dh.h>
48#include <openssl/bn.h> 50#include <openssl/bn.h>
diff --git a/sshpty.c b/sshpty.c
index 8ce8ee469..6b0ad1f2a 100644
--- a/sshpty.c
+++ b/sshpty.c
@@ -12,10 +12,12 @@
12 */ 12 */
13 13
14#include "includes.h" 14#include "includes.h"
15RCSID("$OpenBSD: sshpty.c,v 1.13 2006/02/07 01:42:00 stevesk Exp $"); 15RCSID("$OpenBSD: sshpty.c,v 1.14 2006/02/08 12:15:27 stevesk Exp $");
16
17#include <termios.h>
18 16
17#ifdef HAVE_PATHS_H
18# include <paths.h>
19#endif
20#include <termios.h>
19#ifdef HAVE_UTIL_H 21#ifdef HAVE_UTIL_H
20# include <util.h> 22# include <util.h>
21#endif /* HAVE_UTIL_H */ 23#endif /* HAVE_UTIL_H */