From: Pekka Riikonen Date: Wed, 2 May 2001 16:34:44 +0000 (+0000) Subject: updates X-Git-Tag: SILC.0.2.1~2 X-Git-Url: http://git.silc.fi/gitweb/?a=commitdiff_plain;h=ac76799982dc5d244fb76694a223865b34c4456e;p=silc.git updates --- diff --git a/apps/silc/silc.c b/apps/silc/silc.c index 743be04b..40d16d73 100644 --- a/apps/silc/silc.c +++ b/apps/silc/silc.c @@ -284,10 +284,6 @@ SILC Secure Internet Live Conferencing, version %s\n", /* XXX Read local configuration file */ - /* Check ~/.silc directory and public and private keys */ - if (silc_client_check_silc_dir() == FALSE) - goto fail; - /* Get user information */ silc->username = silc_get_username(); silc->hostname = silc_net_localhost(); @@ -312,6 +308,10 @@ SILC Secure Internet Live Conferencing, version %s\n", silc_hmac_register_default(); } + /* Check ~/.silc directory and public and private keys */ + if (silc_client_check_silc_dir() == FALSE) + goto fail; + /* Load public and private key */ if (silc_client_load_keys(silc) == FALSE) goto fail;