diff options
author | Damien Miller <djm@mindrot.org> | 2000-05-01 20:59:50 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-05-01 20:59:50 +1000 |
commit | 70fb671d218378f6df6a9121a71e8320768a0be3 (patch) | |
tree | b039499c4c2b9081220072715ef172f3abd1be60 | |
parent | e59ce627a4149d39d7841f331d8111bdacc3b604 (diff) |
- Fixed __progname symbol collisions reported by Andre Lucas
<andre.lucas@dial.pipex.com>
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | session.c | 2 | ||||
-rw-r--r-- | ssh-add.c | 4 | ||||
-rw-r--r-- | ssh-agent.c | 2 | ||||
-rw-r--r-- | ssh-keygen.c | 4 | ||||
-rw-r--r-- | ssh.c | 4 | ||||
-rw-r--r-- | sshconnect.c | 4 |
7 files changed, 14 insertions, 8 deletions
@@ -4,6 +4,8 @@ | |||
4 | - send debug messages in SSH2 format | 4 | - send debug messages in SSH2 format |
5 | - Include missing headers for OpenSSL tests. Fix from Phil Karn | 5 | - Include missing headers for OpenSSL tests. Fix from Phil Karn |
6 | <karn@ka9q.ampr.org> | 6 | <karn@ka9q.ampr.org> |
7 | - Fixed __progname symbol collisions reported by Andre Lucas | ||
8 | <andre.lucas@dial.pipex.com> | ||
7 | 9 | ||
8 | 20000430 | 10 | 20000430 |
9 | - Merge HP-UX fixes and TCB support from Ged Lodder <lodder@yacc.com.au> | 11 | - Merge HP-UX fixes and TCB support from Ged Lodder <lodder@yacc.com.au> |
@@ -70,7 +70,7 @@ extern ServerOptions options; | |||
70 | #ifdef HAVE___PROGNAME | 70 | #ifdef HAVE___PROGNAME |
71 | extern char *__progname; | 71 | extern char *__progname; |
72 | #else /* HAVE___PROGNAME */ | 72 | #else /* HAVE___PROGNAME */ |
73 | const char *__progname = "sshd"; | 73 | static const char *__progname = "sshd"; |
74 | #endif /* HAVE___PROGNAME */ | 74 | #endif /* HAVE___PROGNAME */ |
75 | 75 | ||
76 | extern int log_stderr; | 76 | extern int log_stderr; |
@@ -7,7 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "includes.h" | 9 | #include "includes.h" |
10 | RCSID("$Id: ssh-add.c,v 1.17 2000/04/29 13:57:12 damien Exp $"); | 10 | RCSID("$Id: ssh-add.c,v 1.18 2000/05/01 10:59:50 damien Exp $"); |
11 | 11 | ||
12 | #include <openssl/rsa.h> | 12 | #include <openssl/rsa.h> |
13 | #include <openssl/dsa.h> | 13 | #include <openssl/dsa.h> |
@@ -23,7 +23,7 @@ RCSID("$Id: ssh-add.c,v 1.17 2000/04/29 13:57:12 damien Exp $"); | |||
23 | #ifdef HAVE___PROGNAME | 23 | #ifdef HAVE___PROGNAME |
24 | extern char *__progname; | 24 | extern char *__progname; |
25 | #else /* HAVE___PROGNAME */ | 25 | #else /* HAVE___PROGNAME */ |
26 | const char *__progname = "ssh-add"; | 26 | static const char *__progname = "ssh-add"; |
27 | #endif /* HAVE___PROGNAME */ | 27 | #endif /* HAVE___PROGNAME */ |
28 | 28 | ||
29 | void | 29 | void |
diff --git a/ssh-agent.c b/ssh-agent.c index e9f6b8062..30d99b955 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -55,7 +55,7 @@ char socket_dir[1024]; | |||
55 | #ifdef HAVE___PROGNAME | 55 | #ifdef HAVE___PROGNAME |
56 | extern char *__progname; | 56 | extern char *__progname; |
57 | #else /* HAVE___PROGNAME */ | 57 | #else /* HAVE___PROGNAME */ |
58 | const char *__progname = "ssh-agent"; | 58 | static const char *__progname = "ssh-agent"; |
59 | #endif /* HAVE___PROGNAME */ | 59 | #endif /* HAVE___PROGNAME */ |
60 | 60 | ||
61 | void | 61 | void |
diff --git a/ssh-keygen.c b/ssh-keygen.c index 0155949fd..d86396896 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -7,7 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "includes.h" | 9 | #include "includes.h" |
10 | RCSID("$Id: ssh-keygen.c,v 1.14 2000/04/29 13:57:12 damien Exp $"); | 10 | RCSID("$Id: ssh-keygen.c,v 1.15 2000/05/01 10:59:51 damien Exp $"); |
11 | 11 | ||
12 | #include <openssl/evp.h> | 12 | #include <openssl/evp.h> |
13 | #include <openssl/pem.h> | 13 | #include <openssl/pem.h> |
@@ -66,7 +66,7 @@ int dsa_mode = 0; | |||
66 | #ifdef HAVE___PROGNAME | 66 | #ifdef HAVE___PROGNAME |
67 | extern char *__progname; | 67 | extern char *__progname; |
68 | #else /* HAVE___PROGNAME */ | 68 | #else /* HAVE___PROGNAME */ |
69 | const char *__progname = "ssh-keygen"; | 69 | static const char *__progname = "ssh-keygen"; |
70 | #endif /* HAVE___PROGNAME */ | 70 | #endif /* HAVE___PROGNAME */ |
71 | 71 | ||
72 | char hostname[MAXHOSTNAMELEN]; | 72 | char hostname[MAXHOSTNAMELEN]; |
@@ -11,7 +11,7 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include "includes.h" | 13 | #include "includes.h" |
14 | RCSID("$Id: ssh.c,v 1.28 2000/04/30 00:00:54 damien Exp $"); | 14 | RCSID("$Id: ssh.c,v 1.29 2000/05/01 10:59:51 damien Exp $"); |
15 | 15 | ||
16 | #include <openssl/evp.h> | 16 | #include <openssl/evp.h> |
17 | #include <openssl/dsa.h> | 17 | #include <openssl/dsa.h> |
@@ -34,7 +34,7 @@ RCSID("$Id: ssh.c,v 1.28 2000/04/30 00:00:54 damien Exp $"); | |||
34 | #ifdef HAVE___PROGNAME | 34 | #ifdef HAVE___PROGNAME |
35 | extern char *__progname; | 35 | extern char *__progname; |
36 | #else /* HAVE___PROGNAME */ | 36 | #else /* HAVE___PROGNAME */ |
37 | const char *__progname = "ssh"; | 37 | static const char *__progname = "ssh"; |
38 | #endif /* HAVE___PROGNAME */ | 38 | #endif /* HAVE___PROGNAME */ |
39 | 39 | ||
40 | /* Flag indicating whether IPv4 or IPv6. This can be set on the command line. | 40 | /* Flag indicating whether IPv4 or IPv6. This can be set on the command line. |
diff --git a/sshconnect.c b/sshconnect.c index 5554c0643..859450d36 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -30,7 +30,11 @@ char *client_version_string = NULL; | |||
30 | char *server_version_string = NULL; | 30 | char *server_version_string = NULL; |
31 | 31 | ||
32 | extern Options options; | 32 | extern Options options; |
33 | #ifdef HAVE___PROGNAME | ||
33 | extern char *__progname; | 34 | extern char *__progname; |
35 | #else /* HAVE___PROGNAME */ | ||
36 | static const char *__progname = "ssh"; | ||
37 | #endif /* HAVE___PROGNAME */ | ||
34 | 38 | ||
35 | /* | 39 | /* |
36 | * Connect to the given ssh server using a proxy command. | 40 | * Connect to the given ssh server using a proxy command. |