summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-09-20 20:30:09 +0000
committerKevin Steves <stevesk@pobox.com>2001-09-20 20:30:09 +0000
commit76e7d9b6302ef1d695d95f12198e9315d4d57e16 (patch)
treed4925f1fe8a310dd9b3aea00a07ff98e31ca99ad /ssh-keyscan.c
parent50abba560c1a20ae2b88a0e4dbfc0d1f166588ea (diff)
whitespace sync
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index ad627bb9..1849c33b 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -43,12 +43,12 @@ int IPv4or6 = AF_UNSPEC;
#endif
int ssh_port = SSH_DEFAULT_PORT;
-
-#define KT_RSA1 1
-#define KT_DSA 2
-#define KT_RSA 4
-
-int get_keytypes = KT_RSA1; /* Get only RSA1 keys by default */
+
+#define KT_RSA1 1
+#define KT_DSA 2
+#define KT_RSA 4
+
+int get_keytypes = KT_RSA1; /* Get only RSA1 keys by default */
#define MAXMAXFD 256
@@ -673,9 +673,9 @@ usage(void)
fprintf(stderr, " -p port Connect to the specified port.\n");
fprintf(stderr, " -t keytype Specify the host key type.\n");
fprintf(stderr, " -T timeout Set connection timeout.\n");
- fprintf(stderr, " -v Verbose; display verbose debugging messages.\n");
- fprintf(stderr, " -4 Use IPv4 only.\n");
- fprintf(stderr, " -6 Use IPv6 only.\n");
+ fprintf(stderr, " -v Verbose; display verbose debugging messages.\n");
+ fprintf(stderr, " -4 Use IPv4 only.\n");
+ fprintf(stderr, " -6 Use IPv6 only.\n");
exit(1);
}
@@ -685,7 +685,7 @@ main(int argc, char **argv)
int debug_flag = 0, log_level = SYSLOG_LEVEL_INFO;
int opt, fopt_count = 0;
char *tname;
-
+
extern int optind;
extern char *optarg;
@@ -719,7 +719,7 @@ main(int argc, char **argv)
else
fatal("Too high debugging level.");
break;
- case 'f':
+ case 'f':
if (strcmp(optarg, "-") == 0)
optarg = NULL;
argv[fopt_count++] = optarg;
@@ -762,7 +762,6 @@ main(int argc, char **argv)
log_init("ssh-keyscan", log_level, SYSLOG_FACILITY_USER, 1);
fatal_add_cleanup(fatal_callback, NULL);
-
maxfd = fdlim_get(1);
if (maxfd < 0)
fatal("%s: fdlim_get: bad value", __progname);