projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
-eliminating duplicate code
[oweals/gnunet.git]
/
src
/
util
/
crypto_rsa.c
diff --git
a/src/util/crypto_rsa.c
b/src/util/crypto_rsa.c
index ee7e5e9f8238acdac54b7836feba200367dacfe2..0106f43be22049fd85ad460c8d54cff79bc615e3 100644
(file)
--- a/
src/util/crypto_rsa.c
+++ b/
src/util/crypto_rsa.c
@@
-726,7
+726,7
@@
GNUNET_CRYPTO_rsa_key_create_from_file (const char *filename)
return NULL;
}
- if (GNUNET_
YES != GNUNET_DISK_file_size (filename, &fs
, GNUNET_YES))
+ if (GNUNET_
OK != GNUNET_DISK_file_size (filename, &fs, GNUNET_YES
, GNUNET_YES))
fs = 0;
if (fs < sizeof (struct GNUNET_CRYPTO_RsaPrivateKeyBinaryEncoded))
{