diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-17 10:45:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-17 10:45:23 +0000 |
commit | 7e065c18499688141eb68513058131a49344cac1 (patch) | |
tree | e441b44c8f0db8a4f214775e4945039cc820cf2f /src/fs | |
parent | b3ad920b6e0107c3da946fe1f2f720955dbac151 (diff) | |
download | gnunet-7e065c18499688141eb68513058131a49344cac1.tar.gz gnunet-7e065c18499688141eb68513058131a49344cac1.zip |
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/fs_uri.c | 3 |
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); |