diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | authfd.c | 3 | ||||
-rw-r--r-- | authfile.c | 3 | ||||
-rw-r--r-- | canohost.c | 3 | ||||
-rw-r--r-- | channels.c | 3 | ||||
-rw-r--r-- | clientloop.c | 3 | ||||
-rw-r--r-- | compat.c | 3 | ||||
-rw-r--r-- | dh.c | 3 | ||||
-rw-r--r-- | hostfile.c | 9 | ||||
-rw-r--r-- | includes.h | 1 | ||||
-rw-r--r-- | kex.c | 3 | ||||
-rw-r--r-- | log.c | 3 | ||||
-rw-r--r-- | misc.c | 3 | ||||
-rw-r--r-- | moduli.c | 3 | ||||
-rw-r--r-- | monitor.c | 3 | ||||
-rw-r--r-- | packet.c | 3 | ||||
-rw-r--r-- | readpass.c | 3 | ||||
-rw-r--r-- | scp.c | 3 | ||||
-rw-r--r-- | servconf.c | 3 | ||||
-rw-r--r-- | session.c | 3 | ||||
-rw-r--r-- | sftp-server.c | 3 | ||||
-rw-r--r-- | sftp.c | 3 | ||||
-rw-r--r-- | ssh-add.c | 3 | ||||
-rw-r--r-- | ssh-agent.c | 3 | ||||
-rw-r--r-- | ssh-keygen.c | 3 | ||||
-rw-r--r-- | ssh-keyscan.c | 5 | ||||
-rw-r--r-- | ssh-keysign.c | 3 | ||||
-rw-r--r-- | ssh.c | 3 | ||||
-rw-r--r-- | sshconnect.c | 3 | ||||
-rw-r--r-- | sshconnect1.c | 3 | ||||
-rw-r--r-- | sshd.c | 3 | ||||
-rw-r--r-- | xmalloc.c | 3 |
32 files changed, 72 insertions, 36 deletions
@@ -18,6 +18,13 @@ | |||
18 | [sftp-server.c sftp.c ssh-add.c ssh-agent.c ssh-keygen.c sshlogin.c] | 18 | [sftp-server.c sftp.c ssh-add.c ssh-agent.c ssh-keygen.c sshlogin.c] |
19 | [uidswap.c xmalloc.c] | 19 | [uidswap.c xmalloc.c] |
20 | move #include <sys/param.h> out of includes.h | 20 | move #include <sys/param.h> out of includes.h |
21 | - stevesk@cvs.openbsd.org 2006/07/26 13:57:17 | ||
22 | [authfd.c authfile.c dh.c canohost.c channels.c clientloop.c compat.c] | ||
23 | [hostfile.c kex.c log.c misc.c moduli.c monitor.c packet.c readpass.c] | ||
24 | [scp.c servconf.c session.c sftp-server.c sftp.c ssh-add.c ssh-agent.c] | ||
25 | [ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh.c sshconnect.c] | ||
26 | [sshconnect1.c sshd.c xmalloc.c] | ||
27 | move #include <stdlib.h> out of includes.h | ||
21 | 28 | ||
22 | 20060804 | 29 | 20060804 |
23 | - (dtucker) [configure.ac] The "crippled AES" test does not work on recent | 30 | - (dtucker) [configure.ac] The "crippled AES" test does not work on recent |
@@ -5088,4 +5095,4 @@ | |||
5088 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 5095 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
5089 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 5096 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
5090 | 5097 | ||
5091 | $Id: ChangeLog,v 1.4445 2006/08/05 01:02:17 djm Exp $ | 5098 | $Id: ChangeLog,v 1.4446 2006/08/05 01:34:19 djm Exp $ |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: authfd.c,v 1.78 2006/07/22 20:48:22 stevesk Exp $ */ | 1 | /* $OpenBSD: authfd.c,v 1.79 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -44,6 +44,7 @@ | |||
44 | #include <openssl/evp.h> | 44 | #include <openssl/evp.h> |
45 | 45 | ||
46 | #include <fcntl.h> | 46 | #include <fcntl.h> |
47 | #include <stdlib.h> | ||
47 | #include <string.h> | 48 | #include <string.h> |
48 | #include <unistd.h> | 49 | #include <unistd.h> |
49 | 50 | ||
diff --git a/authfile.c b/authfile.c index e01a08aac..7231be55f 100644 --- a/authfile.c +++ b/authfile.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: authfile.c,v 1.72 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: authfile.c,v 1.73 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -48,6 +48,7 @@ | |||
48 | 48 | ||
49 | #include <errno.h> | 49 | #include <errno.h> |
50 | #include <fcntl.h> | 50 | #include <fcntl.h> |
51 | #include <stdlib.h> | ||
51 | #include <string.h> | 52 | #include <string.h> |
52 | #include <unistd.h> | 53 | #include <unistd.h> |
53 | 54 | ||
diff --git a/canohost.c b/canohost.c index b40cbf603..681139cdf 100644 --- a/canohost.c +++ b/canohost.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: canohost.c,v 1.58 2006/07/22 20:48:22 stevesk Exp $ */ | 1 | /* $OpenBSD: canohost.c,v 1.59 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -22,6 +22,7 @@ | |||
22 | #include <ctype.h> | 22 | #include <ctype.h> |
23 | #include <errno.h> | 23 | #include <errno.h> |
24 | #include <netdb.h> | 24 | #include <netdb.h> |
25 | #include <stdlib.h> | ||
25 | #include <string.h> | 26 | #include <string.h> |
26 | 27 | ||
27 | #include "packet.h" | 28 | #include "packet.h" |
diff --git a/channels.c b/channels.c index f59afe01b..b8c4e7e74 100644 --- a/channels.c +++ b/channels.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: channels.c,v 1.261 2006/07/25 02:59:21 stevesk Exp $ */ | 1 | /* $OpenBSD: channels.c,v 1.262 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -54,6 +54,7 @@ | |||
54 | 54 | ||
55 | #include <errno.h> | 55 | #include <errno.h> |
56 | #include <netdb.h> | 56 | #include <netdb.h> |
57 | #include <stdlib.h> | ||
57 | #include <string.h> | 58 | #include <string.h> |
58 | #include <termios.h> | 59 | #include <termios.h> |
59 | #include <unistd.h> | 60 | #include <unistd.h> |
diff --git a/clientloop.c b/clientloop.c index ca7b9060a..46f52e1a2 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.c,v 1.172 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: clientloop.c,v 1.173 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -78,6 +78,7 @@ | |||
78 | #include <paths.h> | 78 | #include <paths.h> |
79 | #endif | 79 | #endif |
80 | #include <signal.h> | 80 | #include <signal.h> |
81 | #include <stdlib.h> | ||
81 | #include <string.h> | 82 | #include <string.h> |
82 | #include <termios.h> | 83 | #include <termios.h> |
83 | #include <unistd.h> | 84 | #include <unistd.h> |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: compat.c,v 1.74 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: compat.c,v 1.75 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -25,6 +25,7 @@ | |||
25 | 25 | ||
26 | #include "includes.h" | 26 | #include "includes.h" |
27 | 27 | ||
28 | #include <stdlib.h> | ||
28 | #include <string.h> | 29 | #include <string.h> |
29 | 30 | ||
30 | #include "buffer.h" | 31 | #include "buffer.h" |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh.c,v 1.39 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: dh.c,v 1.40 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Niels Provos. All rights reserved. | 3 | * Copyright (c) 2000 Niels Provos. All rights reserved. |
4 | * | 4 | * |
@@ -30,6 +30,7 @@ | |||
30 | #include <openssl/bn.h> | 30 | #include <openssl/bn.h> |
31 | #include <openssl/dh.h> | 31 | #include <openssl/dh.h> |
32 | 32 | ||
33 | #include <stdlib.h> | ||
33 | #include <string.h> | 34 | #include <string.h> |
34 | 35 | ||
35 | #include "dh.h" | 36 | #include "dh.h" |
diff --git a/hostfile.c b/hostfile.c index c067f5e11..33516a64c 100644 --- a/hostfile.c +++ b/hostfile.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: hostfile.c,v 1.42 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: hostfile.c,v 1.43 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -42,12 +42,13 @@ | |||
42 | 42 | ||
43 | #include <netinet/in.h> | 43 | #include <netinet/in.h> |
44 | 44 | ||
45 | #include <resolv.h> | ||
46 | #include <string.h> | ||
47 | |||
48 | #include <openssl/hmac.h> | 45 | #include <openssl/hmac.h> |
49 | #include <openssl/sha.h> | 46 | #include <openssl/sha.h> |
50 | 47 | ||
48 | #include <resolv.h> | ||
49 | #include <stdlib.h> | ||
50 | #include <string.h> | ||
51 | |||
51 | #include "match.h" | 52 | #include "match.h" |
52 | #include "key.h" | 53 | #include "key.h" |
53 | #include "hostfile.h" | 54 | #include "hostfile.h" |
diff --git a/includes.h b/includes.h index 9dc284a69..215c00879 100644 --- a/includes.h +++ b/includes.h | |||
@@ -22,7 +22,6 @@ | |||
22 | 22 | ||
23 | #include <sys/types.h> | 23 | #include <sys/types.h> |
24 | #include <stdio.h> | 24 | #include <stdio.h> |
25 | #include <stdlib.h> | ||
26 | 25 | ||
27 | #ifdef HAVE_LIMITS_H | 26 | #ifdef HAVE_LIMITS_H |
28 | # include <limits.h> /* For PATH_MAX */ | 27 | # include <limits.h> /* For PATH_MAX */ |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kex.c,v 1.73 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: kex.c,v 1.74 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -29,6 +29,7 @@ | |||
29 | 29 | ||
30 | #include <openssl/crypto.h> | 30 | #include <openssl/crypto.h> |
31 | 31 | ||
32 | #include <stdlib.h> | ||
32 | #include <string.h> | 33 | #include <string.h> |
33 | 34 | ||
34 | #include "ssh2.h" | 35 | #include "ssh2.h" |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: log.c,v 1.35 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: log.c,v 1.36 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -37,6 +37,7 @@ | |||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | 38 | ||
39 | #include <stdarg.h> | 39 | #include <stdarg.h> |
40 | #include <stdlib.h> | ||
40 | #include <string.h> | 41 | #include <string.h> |
41 | #include <syslog.h> | 42 | #include <syslog.h> |
42 | #include <unistd.h> | 43 | #include <unistd.h> |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.c,v 1.61 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: misc.c,v 1.62 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * Copyright (c) 2005,2006 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2005,2006 Damien Miller. All rights reserved. |
@@ -32,6 +32,7 @@ | |||
32 | #include <sys/param.h> | 32 | #include <sys/param.h> |
33 | 33 | ||
34 | #include <stdarg.h> | 34 | #include <stdarg.h> |
35 | #include <stdlib.h> | ||
35 | #include <string.h> | 36 | #include <string.h> |
36 | #include <unistd.h> | 37 | #include <unistd.h> |
37 | 38 | ||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: moduli.c,v 1.15 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: moduli.c,v 1.16 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 1994 Phil Karn <karn@qualcomm.com> | 3 | * Copyright 1994 Phil Karn <karn@qualcomm.com> |
4 | * Copyright 1996-1998, 2003 William Allen Simpson <wsimpson@greendragon.com> | 4 | * Copyright 1996-1998, 2003 William Allen Simpson <wsimpson@greendragon.com> |
@@ -43,6 +43,7 @@ | |||
43 | 43 | ||
44 | #include <openssl/bn.h> | 44 | #include <openssl/bn.h> |
45 | 45 | ||
46 | #include <stdlib.h> | ||
46 | #include <string.h> | 47 | #include <string.h> |
47 | #include <time.h> | 48 | #include <time.h> |
48 | 49 | ||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: monitor.c,v 1.83 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: monitor.c,v 1.84 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> | 3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> |
4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> | 4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> |
@@ -39,6 +39,7 @@ | |||
39 | #endif | 39 | #endif |
40 | #include <pwd.h> | 40 | #include <pwd.h> |
41 | #include <signal.h> | 41 | #include <signal.h> |
42 | #include <stdlib.h> | ||
42 | #include <string.h> | 43 | #include <string.h> |
43 | 44 | ||
44 | #ifdef SKEY | 45 | #ifdef SKEY |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: packet.c,v 1.139 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: packet.c,v 1.140 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -53,6 +53,7 @@ | |||
53 | 53 | ||
54 | #include <errno.h> | 54 | #include <errno.h> |
55 | #include <stdarg.h> | 55 | #include <stdarg.h> |
56 | #include <stdlib.h> | ||
56 | #include <string.h> | 57 | #include <string.h> |
57 | #include <unistd.h> | 58 | #include <unistd.h> |
58 | 59 | ||
diff --git a/readpass.c b/readpass.c index 1982fb6c5..78b136f33 100644 --- a/readpass.c +++ b/readpass.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: readpass.c,v 1.44 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: readpass.c,v 1.45 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -34,6 +34,7 @@ | |||
34 | # include <paths.h> | 34 | # include <paths.h> |
35 | #endif | 35 | #endif |
36 | #include <stdarg.h> | 36 | #include <stdarg.h> |
37 | #include <stdlib.h> | ||
37 | #include <string.h> | 38 | #include <string.h> |
38 | #include <unistd.h> | 39 | #include <unistd.h> |
39 | 40 | ||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: scp.c,v 1.152 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: scp.c,v 1.153 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * scp - secure remote copy. This is basically patched BSD rcp which | 3 | * scp - secure remote copy. This is basically patched BSD rcp which |
4 | * uses ssh to do the data transfer (instead of using rcmd). | 4 | * uses ssh to do the data transfer (instead of using rcmd). |
@@ -90,6 +90,7 @@ | |||
90 | #include <pwd.h> | 90 | #include <pwd.h> |
91 | #include <signal.h> | 91 | #include <signal.h> |
92 | #include <stdarg.h> | 92 | #include <stdarg.h> |
93 | #include <stdlib.h> | ||
93 | #include <string.h> | 94 | #include <string.h> |
94 | #include <time.h> | 95 | #include <time.h> |
95 | #include <unistd.h> | 96 | #include <unistd.h> |
diff --git a/servconf.c b/servconf.c index dca9508ab..05f47355c 100644 --- a/servconf.c +++ b/servconf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: servconf.c,v 1.160 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: servconf.c,v 1.161 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
4 | * All rights reserved | 4 | * All rights reserved |
@@ -16,6 +16,7 @@ | |||
16 | #include <sys/socket.h> | 16 | #include <sys/socket.h> |
17 | 17 | ||
18 | #include <netdb.h> | 18 | #include <netdb.h> |
19 | #include <stdlib.h> | ||
19 | #include <string.h> | 20 | #include <string.h> |
20 | #include <unistd.h> | 21 | #include <unistd.h> |
21 | 22 | ||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: session.c,v 1.213 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: session.c,v 1.214 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
4 | * All rights reserved | 4 | * All rights reserved |
@@ -53,6 +53,7 @@ | |||
53 | #endif | 53 | #endif |
54 | #include <pwd.h> | 54 | #include <pwd.h> |
55 | #include <signal.h> | 55 | #include <signal.h> |
56 | #include <stdlib.h> | ||
56 | #include <string.h> | 57 | #include <string.h> |
57 | #include <unistd.h> | 58 | #include <unistd.h> |
58 | 59 | ||
diff --git a/sftp-server.c b/sftp-server.c index 02c897c11..abc9539e4 100644 --- a/sftp-server.c +++ b/sftp-server.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp-server.c,v 1.67 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: sftp-server.c,v 1.68 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -27,6 +27,7 @@ | |||
27 | #include <errno.h> | 27 | #include <errno.h> |
28 | #include <fcntl.h> | 28 | #include <fcntl.h> |
29 | #include <pwd.h> | 29 | #include <pwd.h> |
30 | #include <stdlib.h> | ||
30 | #include <string.h> | 31 | #include <string.h> |
31 | #include <time.h> | 32 | #include <time.h> |
32 | #include <unistd.h> | 33 | #include <unistd.h> |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp.c,v 1.88 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: sftp.c,v 1.89 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -37,6 +37,7 @@ | |||
37 | typedef void EditLine; | 37 | typedef void EditLine; |
38 | #endif | 38 | #endif |
39 | #include <signal.h> | 39 | #include <signal.h> |
40 | #include <stdlib.h> | ||
40 | #include <string.h> | 41 | #include <string.h> |
41 | #include <unistd.h> | 42 | #include <unistd.h> |
42 | 43 | ||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-add.c,v 1.86 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: ssh-add.c,v 1.87 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -45,6 +45,7 @@ | |||
45 | 45 | ||
46 | #include <fcntl.h> | 46 | #include <fcntl.h> |
47 | #include <pwd.h> | 47 | #include <pwd.h> |
48 | #include <stdlib.h> | ||
48 | #include <string.h> | 49 | #include <string.h> |
49 | #include <unistd.h> | 50 | #include <unistd.h> |
50 | 51 | ||
diff --git a/ssh-agent.c b/ssh-agent.c index ed48c56d4..478f8d1ee 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-agent.c,v 1.148 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: ssh-agent.c,v 1.149 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -58,6 +58,7 @@ | |||
58 | # include <paths.h> | 58 | # include <paths.h> |
59 | #endif | 59 | #endif |
60 | #include <signal.h> | 60 | #include <signal.h> |
61 | #include <stdlib.h> | ||
61 | #include <time.h> | 62 | #include <time.h> |
62 | #include <string.h> | 63 | #include <string.h> |
63 | #include <unistd.h> | 64 | #include <unistd.h> |
diff --git a/ssh-keygen.c b/ssh-keygen.c index 8b48fbda0..6383d7479 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keygen.c,v 1.151 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: ssh-keygen.c,v 1.152 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -29,6 +29,7 @@ | |||
29 | # include <paths.h> | 29 | # include <paths.h> |
30 | #endif | 30 | #endif |
31 | #include <pwd.h> | 31 | #include <pwd.h> |
32 | #include <stdlib.h> | ||
32 | #include <string.h> | 33 | #include <string.h> |
33 | #include <unistd.h> | 34 | #include <unistd.h> |
34 | 35 | ||
diff --git a/ssh-keyscan.c b/ssh-keyscan.c index e47460a8a..3d8cc7e4a 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keyscan.c,v 1.70 2006/07/25 02:59:21 stevesk Exp $ */ | 1 | /* $OpenBSD: ssh-keyscan.c,v 1.71 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. | 3 | * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. |
4 | * | 4 | * |
@@ -19,8 +19,9 @@ | |||
19 | 19 | ||
20 | #include <netdb.h> | 20 | #include <netdb.h> |
21 | #include <errno.h> | 21 | #include <errno.h> |
22 | #include <stdarg.h> | ||
23 | #include <setjmp.h> | 22 | #include <setjmp.h> |
23 | #include <stdarg.h> | ||
24 | #include <stdlib.h> | ||
24 | #include <string.h> | 25 | #include <string.h> |
25 | #include <unistd.h> | 26 | #include <unistd.h> |
26 | 27 | ||
diff --git a/ssh-keysign.c b/ssh-keysign.c index 89b8e4342..89fdbda36 100644 --- a/ssh-keysign.c +++ b/ssh-keysign.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keysign.c,v 1.27 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: ssh-keysign.c,v 1.28 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2002 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2002 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -29,6 +29,7 @@ | |||
29 | #include <paths.h> | 29 | #include <paths.h> |
30 | #endif | 30 | #endif |
31 | #include <pwd.h> | 31 | #include <pwd.h> |
32 | #include <stdlib.h> | ||
32 | #include <string.h> | 33 | #include <string.h> |
33 | #include <unistd.h> | 34 | #include <unistd.h> |
34 | 35 | ||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.289 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.290 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -61,6 +61,7 @@ | |||
61 | #include <pwd.h> | 61 | #include <pwd.h> |
62 | #include <signal.h> | 62 | #include <signal.h> |
63 | #include <stddef.h> | 63 | #include <stddef.h> |
64 | #include <stdlib.h> | ||
64 | #include <string.h> | 65 | #include <string.h> |
65 | #include <unistd.h> | 66 | #include <unistd.h> |
66 | 67 | ||
diff --git a/sshconnect.c b/sshconnect.c index 4301fb20f..d70410a8e 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect.c,v 1.195 2006/07/25 02:59:21 stevesk Exp $ */ | 1 | /* $OpenBSD: sshconnect.c,v 1.196 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -32,6 +32,7 @@ | |||
32 | #include <paths.h> | 32 | #include <paths.h> |
33 | #endif | 33 | #endif |
34 | #include <pwd.h> | 34 | #include <pwd.h> |
35 | #include <stdlib.h> | ||
35 | #include <string.h> | 36 | #include <string.h> |
36 | #include <unistd.h> | 37 | #include <unistd.h> |
37 | 38 | ||
diff --git a/sshconnect1.c b/sshconnect1.c index ab5216214..37024e750 100644 --- a/sshconnect1.c +++ b/sshconnect1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect1.c,v 1.66 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: sshconnect1.c,v 1.67 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -18,6 +18,7 @@ | |||
18 | #include <openssl/bn.h> | 18 | #include <openssl/bn.h> |
19 | #include <openssl/md5.h> | 19 | #include <openssl/md5.h> |
20 | 20 | ||
21 | #include <stdlib.h> | ||
21 | #include <string.h> | 22 | #include <string.h> |
22 | 23 | ||
23 | #include "ssh.h" | 24 | #include "ssh.h" |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshd.c,v 1.340 2006/07/25 02:59:21 stevesk Exp $ */ | 1 | /* $OpenBSD: sshd.c,v 1.341 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -64,6 +64,7 @@ | |||
64 | #include <grp.h> | 64 | #include <grp.h> |
65 | #include <pwd.h> | 65 | #include <pwd.h> |
66 | #include <signal.h> | 66 | #include <signal.h> |
67 | #include <stdlib.h> | ||
67 | #include <string.h> | 68 | #include <string.h> |
68 | 69 | ||
69 | #include <openssl/dh.h> | 70 | #include <openssl/dh.h> |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: xmalloc.c,v 1.24 2006/07/26 02:35:17 stevesk Exp $ */ | 1 | /* $OpenBSD: xmalloc.c,v 1.25 2006/07/26 13:57:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -18,6 +18,7 @@ | |||
18 | #include <sys/param.h> | 18 | #include <sys/param.h> |
19 | 19 | ||
20 | #include <stdarg.h> | 20 | #include <stdarg.h> |
21 | #include <stdlib.h> | ||
21 | #include <string.h> | 22 | #include <string.h> |
22 | 23 | ||
23 | #include "xmalloc.h" | 24 | #include "xmalloc.h" |