aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_uri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/fs_uri.c')
-rw-r--r--src/fs/fs_uri.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c
index fb33d8564..1597f38ae 100644
--- a/src/fs/fs_uri.c
+++ b/src/fs/fs_uri.c
@@ -858,14 +858,16 @@ GNUNET_FS_uri_loc_create (const struct GNUNET_FS_Uri *baseUri,
858 if (baseUri->type != GNUNET_FS_URI_CHK) 858 if (baseUri->type != GNUNET_FS_URI_CHK)
859 return NULL; 859 return NULL;
860 if (GNUNET_OK != 860 if (GNUNET_OK !=
861 GNUNET_CONFIGURATION_get_value_filename (cfg, "PEER", "PRIVATE_KEY", 861 GNUNET_CONFIGURATION_get_value_filename (cfg,
862 "PEER", "PRIVATE_KEY",
862 &keyfile)) 863 &keyfile))
863 { 864 {
864 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 865 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
865 _("Lacking key configuration settings.\n")); 866 _("Lacking key configuration settings.\n"));
866 return NULL; 867 return NULL;
867 } 868 }
868 if (NULL == (my_private_key = GNUNET_CRYPTO_eddsa_key_create_from_file (keyfile))) 869 if (NULL ==
870 (my_private_key = GNUNET_CRYPTO_eddsa_key_create_from_file (keyfile)))
869 { 871 {
870 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 872 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
871 _("Could not access hostkey file `%s'.\n"), keyfile); 873 _("Could not access hostkey file `%s'.\n"), keyfile);