summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-05-01 20:59:50 +1000
committerDamien Miller <djm@mindrot.org>2000-05-01 20:59:50 +1000
commit70fb671d218378f6df6a9121a71e8320768a0be3 (patch)
treeb039499c4c2b9081220072715ef172f3abd1be60
parente59ce627a4149d39d7841f331d8111bdacc3b604 (diff)
- Fixed __progname symbol collisions reported by Andre Lucas
<andre.lucas@dial.pipex.com>
-rw-r--r--ChangeLog2
-rw-r--r--session.c2
-rw-r--r--ssh-add.c4
-rw-r--r--ssh-agent.c2
-rw-r--r--ssh-keygen.c4
-rw-r--r--ssh.c4
-rw-r--r--sshconnect.c4
7 files changed, 14 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index bdb69ea9d..eeceec348 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
820000430 1020000430
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>
diff --git a/session.c b/session.c
index c6253139c..0679d837c 100644
--- a/session.c
+++ b/session.c
@@ -70,7 +70,7 @@ extern ServerOptions options;
70#ifdef HAVE___PROGNAME 70#ifdef HAVE___PROGNAME
71extern char *__progname; 71extern char *__progname;
72#else /* HAVE___PROGNAME */ 72#else /* HAVE___PROGNAME */
73const char *__progname = "sshd"; 73static const char *__progname = "sshd";
74#endif /* HAVE___PROGNAME */ 74#endif /* HAVE___PROGNAME */
75 75
76extern int log_stderr; 76extern int log_stderr;
diff --git a/ssh-add.c b/ssh-add.c
index 0d388301d..ad9423977 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -7,7 +7,7 @@
7 */ 7 */
8 8
9#include "includes.h" 9#include "includes.h"
10RCSID("$Id: ssh-add.c,v 1.17 2000/04/29 13:57:12 damien Exp $"); 10RCSID("$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
24extern char *__progname; 24extern char *__progname;
25#else /* HAVE___PROGNAME */ 25#else /* HAVE___PROGNAME */
26const char *__progname = "ssh-add"; 26static const char *__progname = "ssh-add";
27#endif /* HAVE___PROGNAME */ 27#endif /* HAVE___PROGNAME */
28 28
29void 29void
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
56extern char *__progname; 56extern char *__progname;
57#else /* HAVE___PROGNAME */ 57#else /* HAVE___PROGNAME */
58const char *__progname = "ssh-agent"; 58static const char *__progname = "ssh-agent";
59#endif /* HAVE___PROGNAME */ 59#endif /* HAVE___PROGNAME */
60 60
61void 61void
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"
10RCSID("$Id: ssh-keygen.c,v 1.14 2000/04/29 13:57:12 damien Exp $"); 10RCSID("$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
67extern char *__progname; 67extern char *__progname;
68#else /* HAVE___PROGNAME */ 68#else /* HAVE___PROGNAME */
69const char *__progname = "ssh-keygen"; 69static const char *__progname = "ssh-keygen";
70#endif /* HAVE___PROGNAME */ 70#endif /* HAVE___PROGNAME */
71 71
72char hostname[MAXHOSTNAMELEN]; 72char hostname[MAXHOSTNAMELEN];
diff --git a/ssh.c b/ssh.c
index cffd56676..c46243462 100644
--- a/ssh.c
+++ b/ssh.c
@@ -11,7 +11,7 @@
11 */ 11 */
12 12
13#include "includes.h" 13#include "includes.h"
14RCSID("$Id: ssh.c,v 1.28 2000/04/30 00:00:54 damien Exp $"); 14RCSID("$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
35extern char *__progname; 35extern char *__progname;
36#else /* HAVE___PROGNAME */ 36#else /* HAVE___PROGNAME */
37const char *__progname = "ssh"; 37static 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;
30char *server_version_string = NULL; 30char *server_version_string = NULL;
31 31
32extern Options options; 32extern Options options;
33#ifdef HAVE___PROGNAME
33extern char *__progname; 34extern char *__progname;
35#else /* HAVE___PROGNAME */
36static 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.