handling replies continuously from server
[oweals/gnunet.git] / src / util / crypto_rsa.c
index ee7e5e9f8238acdac54b7836feba200367dacfe2..0106f43be22049fd85ad460c8d54cff79bc615e3 100644 (file)
@@ -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))
     {