diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-29 12:53:07 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-29 12:53:07 +0200 |
commit | ba904cc4b383577bb393786b53f557ccaffdd7f3 (patch) | |
tree | a85003435bc76a913dfecf84770caa7e36a81788 /src/util | |
parent | ef86866cee09c03bf426f1c84c15ecae0e5ba39d (diff) | |
download | gnunet-ba904cc4b383577bb393786b53f557ccaffdd7f3.tar.gz gnunet-ba904cc4b383577bb393786b53f557ccaffdd7f3.zip |
use proper return type
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/crypto_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/crypto_hash.c b/src/util/crypto_hash.c index 0dbe9dbe8..94b6f5099 100644 --- a/src/util/crypto_hash.c +++ b/src/util/crypto_hash.c | |||
@@ -94,7 +94,7 @@ GNUNET_CRYPTO_hash_to_enc (const struct GNUNET_HashCode *block, | |||
94 | * @param result where to store the hash code | 94 | * @param result where to store the hash code |
95 | * @return #GNUNET_OK on success, #GNUNET_SYSERR if result has the wrong encoding | 95 | * @return #GNUNET_OK on success, #GNUNET_SYSERR if result has the wrong encoding |
96 | */ | 96 | */ |
97 | int | 97 | enum GNUNET_GenericReturnValue |
98 | GNUNET_CRYPTO_hash_from_string2 (const char *enc, | 98 | GNUNET_CRYPTO_hash_from_string2 (const char *enc, |
99 | size_t enclen, | 99 | size_t enclen, |
100 | struct GNUNET_HashCode *result) | 100 | struct GNUNET_HashCode *result) |