diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-05-13 16:06:46 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-05-13 16:06:46 +1000 |
commit | 06f2bd8bde688390c34eeedfb3aa7b8e4133542d (patch) | |
tree | 0f8a3dfe7e3520dd21317fa10e3f9cd67b95a628 | |
parent | dcf6ec48f617af4dc27c8cd42960fa65240f5488 (diff) |
- deraadt@cvs.openbsd.org 2004/05/08 00:01:37
[auth.c clientloop.c misc.h servconf.c ssh.c sshpty.h sshtty.c
tildexpand.c], removed: sshtty.h tildexpand.h
make two tiny header files go away; djm ok
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | auth.c | 3 | ||||
-rw-r--r-- | clientloop.c | 4 | ||||
-rw-r--r-- | misc.h | 4 | ||||
-rw-r--r-- | servconf.c | 3 | ||||
-rw-r--r-- | ssh.c | 5 | ||||
-rw-r--r-- | sshpty.h | 6 | ||||
-rw-r--r-- | sshtty.c | 4 | ||||
-rw-r--r-- | sshtty.h | 47 | ||||
-rw-r--r-- | tildexpand.c | 3 | ||||
-rw-r--r-- | tildexpand.h | 15 |
11 files changed, 22 insertions, 78 deletions
@@ -9,6 +9,10 @@ | |||
9 | - jmc@cvs.openbsd.org 2004/05/06 11:24:23 | 9 | - jmc@cvs.openbsd.org 2004/05/06 11:24:23 |
10 | [ssh_config.5] | 10 | [ssh_config.5] |
11 | typo from John Cosimano (PR 3770); | 11 | typo from John Cosimano (PR 3770); |
12 | - deraadt@cvs.openbsd.org 2004/05/08 00:01:37 | ||
13 | [auth.c clientloop.c misc.h servconf.c ssh.c sshpty.h sshtty.c | ||
14 | tildexpand.c], removed: sshtty.h tildexpand.h | ||
15 | make two tiny header files go away; djm ok | ||
12 | 16 | ||
13 | 20040502 | 17 | 20040502 |
14 | - (dtucker) OpenBSD CVS Sync | 18 | - (dtucker) OpenBSD CVS Sync |
@@ -1085,4 +1089,4 @@ | |||
1085 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 1089 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
1086 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 1090 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
1087 | 1091 | ||
1088 | $Id: ChangeLog,v 1.3344 2004/05/13 03:03:56 dtucker Exp $ | 1092 | $Id: ChangeLog,v 1.3345 2004/05/13 06:06:46 dtucker Exp $ |
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: auth.c,v 1.51 2003/11/21 11:57:02 djm Exp $"); | 26 | RCSID("$OpenBSD: auth.c,v 1.52 2004/05/08 00:01:37 deraadt Exp $"); |
27 | 27 | ||
28 | #ifdef HAVE_LOGIN_H | 28 | #ifdef HAVE_LOGIN_H |
29 | #include <login.h> | 29 | #include <login.h> |
@@ -47,7 +47,6 @@ RCSID("$OpenBSD: auth.c,v 1.51 2003/11/21 11:57:02 djm Exp $"); | |||
47 | #include "buffer.h" | 47 | #include "buffer.h" |
48 | #include "bufaux.h" | 48 | #include "bufaux.h" |
49 | #include "uidswap.h" | 49 | #include "uidswap.h" |
50 | #include "tildexpand.h" | ||
51 | #include "misc.h" | 50 | #include "misc.h" |
52 | #include "bufaux.h" | 51 | #include "bufaux.h" |
53 | #include "packet.h" | 52 | #include "packet.h" |
diff --git a/clientloop.c b/clientloop.c index 626b29a5a..adfeeab27 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -59,7 +59,7 @@ | |||
59 | */ | 59 | */ |
60 | 60 | ||
61 | #include "includes.h" | 61 | #include "includes.h" |
62 | RCSID("$OpenBSD: clientloop.c,v 1.117 2003/12/16 15:49:51 markus Exp $"); | 62 | RCSID("$OpenBSD: clientloop.c,v 1.118 2004/05/08 00:01:37 deraadt Exp $"); |
63 | 63 | ||
64 | #include "ssh.h" | 64 | #include "ssh.h" |
65 | #include "ssh1.h" | 65 | #include "ssh1.h" |
@@ -79,7 +79,7 @@ RCSID("$OpenBSD: clientloop.c,v 1.117 2003/12/16 15:49:51 markus Exp $"); | |||
79 | #include "clientloop.h" | 79 | #include "clientloop.h" |
80 | #include "authfd.h" | 80 | #include "authfd.h" |
81 | #include "atomicio.h" | 81 | #include "atomicio.h" |
82 | #include "sshtty.h" | 82 | #include "sshpty.h" |
83 | #include "misc.h" | 83 | #include "misc.h" |
84 | #include "readpass.h" | 84 | #include "readpass.h" |
85 | 85 | ||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.h,v 1.12 2002/03/19 10:49:35 markus Exp $ */ | 1 | /* $OpenBSD: misc.h,v 1.13 2004/05/08 00:01:37 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -31,3 +31,5 @@ struct arglist { | |||
31 | int nalloc; | 31 | int nalloc; |
32 | }; | 32 | }; |
33 | void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3))); | 33 | void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3))); |
34 | |||
35 | char *tilde_expand_filename(const char *, uid_t); | ||
diff --git a/servconf.c b/servconf.c index ae380f522..467ad64e8 100644 --- a/servconf.c +++ b/servconf.c | |||
@@ -10,7 +10,7 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include "includes.h" | 12 | #include "includes.h" |
13 | RCSID("$OpenBSD: servconf.c,v 1.131 2004/04/27 09:46:37 djm Exp $"); | 13 | RCSID("$OpenBSD: servconf.c,v 1.132 2004/05/08 00:01:37 deraadt Exp $"); |
14 | 14 | ||
15 | #include "ssh.h" | 15 | #include "ssh.h" |
16 | #include "log.h" | 16 | #include "log.h" |
@@ -18,7 +18,6 @@ RCSID("$OpenBSD: servconf.c,v 1.131 2004/04/27 09:46:37 djm Exp $"); | |||
18 | #include "xmalloc.h" | 18 | #include "xmalloc.h" |
19 | #include "compat.h" | 19 | #include "compat.h" |
20 | #include "pathnames.h" | 20 | #include "pathnames.h" |
21 | #include "tildexpand.h" | ||
22 | #include "misc.h" | 21 | #include "misc.h" |
23 | #include "cipher.h" | 22 | #include "cipher.h" |
24 | #include "kex.h" | 23 | #include "kex.h" |
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: ssh.c,v 1.212 2004/04/27 09:46:37 djm Exp $"); | 43 | RCSID("$OpenBSD: ssh.c,v 1.213 2004/05/08 00:01:37 deraadt Exp $"); |
44 | 44 | ||
45 | #include <openssl/evp.h> | 45 | #include <openssl/evp.h> |
46 | #include <openssl/err.h> | 46 | #include <openssl/err.h> |
@@ -62,12 +62,11 @@ RCSID("$OpenBSD: ssh.c,v 1.212 2004/04/27 09:46:37 djm Exp $"); | |||
62 | #include "log.h" | 62 | #include "log.h" |
63 | #include "readconf.h" | 63 | #include "readconf.h" |
64 | #include "sshconnect.h" | 64 | #include "sshconnect.h" |
65 | #include "tildexpand.h" | ||
66 | #include "dispatch.h" | 65 | #include "dispatch.h" |
67 | #include "misc.h" | 66 | #include "misc.h" |
68 | #include "kex.h" | 67 | #include "kex.h" |
69 | #include "mac.h" | 68 | #include "mac.h" |
70 | #include "sshtty.h" | 69 | #include "sshpty.h" |
71 | #include "match.h" | 70 | #include "match.h" |
72 | 71 | ||
73 | #ifdef SMARTCARD | 72 | #ifdef SMARTCARD |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshpty.h,v 1.4 2002/03/04 17:27:39 stevesk Exp $ */ | 1 | /* $OpenBSD: sshpty.h,v 1.5 2004/05/08 00:01:37 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -17,6 +17,10 @@ | |||
17 | #ifndef SSHPTY_H | 17 | #ifndef SSHPTY_H |
18 | #define SSHPTY_H | 18 | #define SSHPTY_H |
19 | 19 | ||
20 | struct termios get_saved_tio(void); | ||
21 | void leave_raw_mode(void); | ||
22 | void enter_raw_mode(void); | ||
23 | |||
20 | int pty_allocate(int *, int *, char *, int); | 24 | int pty_allocate(int *, int *, char *, int); |
21 | void pty_release(const char *); | 25 | void pty_release(const char *); |
22 | void pty_make_controlling_tty(int *, const char *); | 26 | void pty_make_controlling_tty(int *, const char *); |
@@ -35,9 +35,9 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: sshtty.c,v 1.5 2003/09/19 17:43:35 markus Exp $"); | 38 | RCSID("$OpenBSD: sshtty.c,v 1.6 2004/05/08 00:01:37 deraadt Exp $"); |
39 | 39 | ||
40 | #include "sshtty.h" | 40 | #include "sshpty.h" |
41 | #include "log.h" | 41 | #include "log.h" |
42 | 42 | ||
43 | static struct termios _saved_tio; | 43 | static struct termios _saved_tio; |
diff --git a/sshtty.h b/sshtty.h deleted file mode 100644 index 723b27846..000000000 --- a/sshtty.h +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | /* $OpenBSD: sshtty.h,v 1.3 2003/09/19 17:43:35 markus Exp $ */ | ||
2 | /* | ||
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | ||
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | ||
5 | * All rights reserved | ||
6 | * | ||
7 | * As far as I am concerned, the code I have written for this software | ||
8 | * can be used freely for any purpose. Any derived versions of this | ||
9 | * software must be clearly marked as such, and if the derived work is | ||
10 | * incompatible with the protocol description in the RFC file, it must be | ||
11 | * called by a name other than "ssh" or "Secure Shell". | ||
12 | */ | ||
13 | /* | ||
14 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | ||
15 | * Copyright (c) 2001 Kevin Steves. All rights reserved. | ||
16 | * | ||
17 | * Redistribution and use in source and binary forms, with or without | ||
18 | * modification, are permitted provided that the following conditions | ||
19 | * are met: | ||
20 | * 1. Redistributions of source code must retain the above copyright | ||
21 | * notice, this list of conditions and the following disclaimer. | ||
22 | * 2. Redistributions in binary form must reproduce the above copyright | ||
23 | * notice, this list of conditions and the following disclaimer in the | ||
24 | * documentation and/or other materials provided with the distribution. | ||
25 | * | ||
26 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||
27 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
28 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
29 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
30 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
31 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
32 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
33 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
34 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
35 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
36 | */ | ||
37 | |||
38 | #ifndef SSHTTY_H | ||
39 | #define SSHTTY_H | ||
40 | |||
41 | #include <termios.h> | ||
42 | |||
43 | struct termios get_saved_tio(void); | ||
44 | void leave_raw_mode(void); | ||
45 | void enter_raw_mode(void); | ||
46 | |||
47 | #endif | ||
diff --git a/tildexpand.c b/tildexpand.c index cbe981146..40aa11965 100644 --- a/tildexpand.c +++ b/tildexpand.c | |||
@@ -11,11 +11,10 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include "includes.h" | 13 | #include "includes.h" |
14 | RCSID("$OpenBSD: tildexpand.c,v 1.13 2002/06/23 03:25:50 deraadt Exp $"); | 14 | RCSID("$OpenBSD: tildexpand.c,v 1.14 2004/05/08 00:01:37 deraadt Exp $"); |
15 | 15 | ||
16 | #include "xmalloc.h" | 16 | #include "xmalloc.h" |
17 | #include "log.h" | 17 | #include "log.h" |
18 | #include "tildexpand.h" | ||
19 | 18 | ||
20 | /* | 19 | /* |
21 | * Expands tildes in the file name. Returns data allocated by xmalloc. | 20 | * Expands tildes in the file name. Returns data allocated by xmalloc. |
diff --git a/tildexpand.h b/tildexpand.h deleted file mode 100644 index f5e7e40bc..000000000 --- a/tildexpand.h +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | /* $OpenBSD: tildexpand.h,v 1.4 2001/06/26 17:27:25 markus Exp $ */ | ||
2 | |||
3 | /* | ||
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | ||
5 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | ||
6 | * All rights reserved | ||
7 | * | ||
8 | * As far as I am concerned, the code I have written for this software | ||
9 | * can be used freely for any purpose. Any derived versions of this | ||
10 | * software must be clearly marked as such, and if the derived work is | ||
11 | * incompatible with the protocol description in the RFC file, it must be | ||
12 | * called by a name other than "ssh" or "Secure Shell". | ||
13 | */ | ||
14 | |||
15 | char *tilde_expand_filename(const char *, uid_t); | ||