summaryrefslogtreecommitdiff
path: root/ssh-pkcs11-helper.c
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2010-02-28 14:51:56 -0800
committerTim Rice <tim@multitalents.net>2010-02-28 14:51:56 -0800
commitbff24b8ad29f4b5427ffbe017acafdb3efc1b951 (patch)
treed4d92a3a6512c90b0c90d578790e9e8e6e3af200 /ssh-pkcs11-helper.c
parentacc9b29486dfd649dfda474e5c1a03b317449f1c (diff)
downloadopenssh-git-bff24b8ad29f4b5427ffbe017acafdb3efc1b951.tar.gz
- (tim) [ssh-pkcs11-helper.c] Move declarations before calling functions
to make older compilers (gcc 2.95) happy.
Diffstat (limited to 'ssh-pkcs11-helper.c')
-rw-r--r--ssh-pkcs11-helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-pkcs11-helper.c b/ssh-pkcs11-helper.c
index 54786c62..d3bfb983 100644
--- a/ssh-pkcs11-helper.c
+++ b/ssh-pkcs11-helper.c
@@ -274,12 +274,12 @@ main(int argc, char **argv)
LogLevel log_level = SYSLOG_LEVEL_ERROR;
char buf[4*4096];
- TAILQ_INIT(&pkcs11_keylist);
- pkcs11_init(0);
-
extern char *optarg;
extern char *__progname;
+ TAILQ_INIT(&pkcs11_keylist);
+ pkcs11_init(0);
+
init_rng();
seed_rng();
__progname = ssh_get_progname(argv[0]);