updates
authorPekka Riikonen <priikone@silcnet.org>
Wed, 2 May 2001 16:34:44 +0000 (16:34 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Wed, 2 May 2001 16:34:44 +0000 (16:34 +0000)
apps/silc/silc.c

index 743be04b03d7583ff7e9c0767116a876ba4064aa..40d16d7365d7eef1615a336498fce5c65d99dfd2 100644 (file)
@@ -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;