diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ssh.c | 17 |
2 files changed, 5 insertions, 17 deletions
@@ -24,6 +24,9 @@ | |||
24 | - djm@cvs.openbsd.org 2001/02/10 0:45:52 | 24 | - djm@cvs.openbsd.org 2001/02/10 0:45:52 |
25 | [scp.1] | 25 | [scp.1] |
26 | Mention that you can quote pathnames with spaces in them | 26 | Mention that you can quote pathnames with spaces in them |
27 | - markus@cvs.openbsd.org 2001/02/10 1:46:28 | ||
28 | [ssh.c] | ||
29 | remove mapping of argv[0] -> hostname | ||
27 | - (bal) Minor correction to sftp-client.c I made. Should return 'status' | 30 | - (bal) Minor correction to sftp-client.c I made. Should return 'status' |
28 | instead of '0' (from the OpenBSD tree) | 31 | instead of '0' (from the OpenBSD tree) |
29 | - (bal) Synced ssh.1 w/ OpenBSD | 32 | - (bal) Synced ssh.1 w/ OpenBSD |
@@ -3810,4 +3813,4 @@ | |||
3810 | - Wrote replacements for strlcpy and mkdtemp | 3813 | - Wrote replacements for strlcpy and mkdtemp |
3811 | - Released 1.0pre1 | 3814 | - Released 1.0pre1 |
3812 | 3815 | ||
3813 | $Id: ChangeLog,v 1.721 2001/02/10 22:08:03 mouring Exp $ | 3816 | $Id: ChangeLog,v 1.722 2001/02/10 22:11:13 mouring Exp $ |
@@ -39,7 +39,7 @@ | |||
39 | */ | 39 | */ |
40 | 40 | ||
41 | #include "includes.h" | 41 | #include "includes.h" |
42 | RCSID("$OpenBSD: ssh.c,v 1.93 2001/02/08 19:30:52 itojun Exp $"); | 42 | RCSID("$OpenBSD: ssh.c,v 1.94 2001/02/10 01:46:28 markus Exp $"); |
43 | 43 | ||
44 | #include <openssl/evp.h> | 44 | #include <openssl/evp.h> |
45 | #include <openssl/err.h> | 45 | #include <openssl/err.h> |
@@ -288,21 +288,6 @@ main(int ac, char **av) | |||
288 | /* Parse command-line arguments. */ | 288 | /* Parse command-line arguments. */ |
289 | host = NULL; | 289 | host = NULL; |
290 | 290 | ||
291 | /* If program name is not one of the standard names, use it as host name. */ | ||
292 | cp = __progname; | ||
293 | #ifdef HAVE_CYGWIN | ||
294 | if (strcasecmp(cp, "rsh") && strcasecmp(cp, "ssh") && | ||
295 | strcasecmp(cp, "rlogin") && strcasecmp(cp, "slogin") && | ||
296 | strcasecmp(cp, "remsh") && | ||
297 | strcasecmp(cp, "rsh.exe") && strcasecmp(cp, "ssh.exe") && | ||
298 | strcasecmp(cp, "rlogin.exe") && strcasecmp(cp, "slogin.exe") && | ||
299 | strcasecmp(cp, "remsh.exe")) | ||
300 | #else | ||
301 | if (strcmp(cp, "rsh") && strcmp(cp, "ssh") && strcmp(cp, "rlogin") && | ||
302 | strcmp(cp, "slogin") && strcmp(cp, "remsh")) | ||
303 | #endif | ||
304 | host = cp; | ||
305 | |||
306 | for (optind = 1; optind < ac; optind++) { | 291 | for (optind = 1; optind < ac; optind++) { |
307 | if (av[optind][0] != '-') { | 292 | if (av[optind][0] != '-') { |
308 | if (host) | 293 | if (host) |