mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 07:44:29 +02:00
whitespace sync
This commit is contained in:
parent
50abba560c
commit
76e7d9b630
@ -44,11 +44,11 @@ int IPv4or6 = AF_UNSPEC;
|
|||||||
|
|
||||||
int ssh_port = SSH_DEFAULT_PORT;
|
int ssh_port = SSH_DEFAULT_PORT;
|
||||||
|
|
||||||
#define KT_RSA1 1
|
#define KT_RSA1 1
|
||||||
#define KT_DSA 2
|
#define KT_DSA 2
|
||||||
#define KT_RSA 4
|
#define KT_RSA 4
|
||||||
|
|
||||||
int get_keytypes = KT_RSA1; /* Get only RSA1 keys by default */
|
int get_keytypes = KT_RSA1; /* Get only RSA1 keys by default */
|
||||||
|
|
||||||
#define MAXMAXFD 256
|
#define MAXMAXFD 256
|
||||||
|
|
||||||
@ -673,9 +673,9 @@ usage(void)
|
|||||||
fprintf(stderr, " -p port Connect to the specified port.\n");
|
fprintf(stderr, " -p port Connect to the specified port.\n");
|
||||||
fprintf(stderr, " -t keytype Specify the host key type.\n");
|
fprintf(stderr, " -t keytype Specify the host key type.\n");
|
||||||
fprintf(stderr, " -T timeout Set connection timeout.\n");
|
fprintf(stderr, " -T timeout Set connection timeout.\n");
|
||||||
fprintf(stderr, " -v Verbose; display verbose debugging messages.\n");
|
fprintf(stderr, " -v Verbose; display verbose debugging messages.\n");
|
||||||
fprintf(stderr, " -4 Use IPv4 only.\n");
|
fprintf(stderr, " -4 Use IPv4 only.\n");
|
||||||
fprintf(stderr, " -6 Use IPv6 only.\n");
|
fprintf(stderr, " -6 Use IPv6 only.\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -719,7 +719,7 @@ main(int argc, char **argv)
|
|||||||
else
|
else
|
||||||
fatal("Too high debugging level.");
|
fatal("Too high debugging level.");
|
||||||
break;
|
break;
|
||||||
case 'f':
|
case 'f':
|
||||||
if (strcmp(optarg, "-") == 0)
|
if (strcmp(optarg, "-") == 0)
|
||||||
optarg = NULL;
|
optarg = NULL;
|
||||||
argv[fopt_count++] = optarg;
|
argv[fopt_count++] = optarg;
|
||||||
@ -762,7 +762,6 @@ main(int argc, char **argv)
|
|||||||
log_init("ssh-keyscan", log_level, SYSLOG_FACILITY_USER, 1);
|
log_init("ssh-keyscan", log_level, SYSLOG_FACILITY_USER, 1);
|
||||||
fatal_add_cleanup(fatal_callback, NULL);
|
fatal_add_cleanup(fatal_callback, NULL);
|
||||||
|
|
||||||
|
|
||||||
maxfd = fdlim_get(1);
|
maxfd = fdlim_get(1);
|
||||||
if (maxfd < 0)
|
if (maxfd < 0)
|
||||||
fatal("%s: fdlim_get: bad value", __progname);
|
fatal("%s: fdlim_get: bad value", __progname);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user