]> andersk Git - openssh.git/blobdiff - ssh.c
- Merged more Solaris compability from Marc G. Fournier
[openssh.git] / ssh.c
diff --git a/ssh.c b/ssh.c
index 702e7d266afc0b9df3455a0a3127a0b0955cd0ed..7e66b52f7546d2e6028b181fd1976532aa1eedc8 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -28,6 +28,12 @@ RCSID("$Id$");
 #include "readconf.h"
 #include "uidswap.h"
 
+#ifdef HAVE___PROGNAME
+extern char *__progname;
+#else /* HAVE___PROGNAME */
+const char *__progname = "ssh";
+#endif /* HAVE___PROGNAME */
+
 /* Flag indicating whether debug mode is on.  This can be set on the
    command line. */
 int debug_flag = 0;
@@ -399,7 +405,6 @@ main(int ac, char **av)
 
   /* check if RSA support exists */
   if (rsa_alive() == 0) {
-    extern char *__progname;
 
     fprintf(stderr,
       "%s: no RSA support in libssl and libcrypto.  See ssl(8).\n",
This page took 0.031425 seconds and 4 git commands to generate.