aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_uri.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-17 10:45:23 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-17 10:45:23 +0000
commit7e065c18499688141eb68513058131a49344cac1 (patch)
treee441b44c8f0db8a4f214775e4945039cc820cf2f /src/fs/fs_uri.c
parentb3ad920b6e0107c3da946fe1f2f720955dbac151 (diff)
downloadgnunet-7e065c18499688141eb68513058131a49344cac1.tar.gz
gnunet-7e065c18499688141eb68513058131a49344cac1.zip
fixing #1551/#2503
Diffstat (limited to 'src/fs/fs_uri.c')
-rw-r--r--src/fs/fs_uri.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c
index ad21692c9..0f4168918 100644
--- a/src/fs/fs_uri.c
+++ b/src/fs/fs_uri.c
@@ -903,8 +903,7 @@ GNUNET_FS_uri_loc_create (const struct GNUNET_FS_Uri *baseUri,
903 _("Lacking key configuration settings.\n")); 903 _("Lacking key configuration settings.\n"));
904 return NULL; 904 return NULL;
905 } 905 }
906 my_private_key = GNUNET_CRYPTO_rsa_key_create_from_file (keyfile); 906 if (NULL == (my_private_key = GNUNET_CRYPTO_rsa_key_create_from_file (keyfile)))
907 if (my_private_key == NULL)
908 { 907 {
909 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 908 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
910 _("Could not access hostkey file `%s'.\n"), keyfile); 909 _("Could not access hostkey file `%s'.\n"), keyfile);