diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-10-05 12:51:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-10-05 12:51:05 +0000 |
commit | f811206714d9cef29580a1944a0ef55d7be4972a (patch) | |
tree | 1c09388397dd93f2006e8737f2b1f369bfe7923a /src/util/crypto_rsa.c | |
parent | a8594b108fb91bf69b56cc69fe918e12ef43357b (diff) |
code clean up
Diffstat (limited to 'src/util/crypto_rsa.c')
-rw-r--r-- | src/util/crypto_rsa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c index ef2e328e9a..7bffa71ee9 100644 --- a/src/util/crypto_rsa.c +++ b/src/util/crypto_rsa.c @@ -615,7 +615,8 @@ GNUNET_CRYPTO_rsa_key_create_from_file (const char *filename) return ret; } /* hostkey file exists already, read it! */ - fd = GNUNET_DISK_file_open (filename, GNUNET_DISK_OPEN_READ); + fd = GNUNET_DISK_file_open (filename, GNUNET_DISK_OPEN_READ, + GNUNET_DISK_PERM_NONE); if (NULL == fd) { GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "open", filename); |