aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_crypto_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-29 12:53:07 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-29 12:53:07 +0200
commitba904cc4b383577bb393786b53f557ccaffdd7f3 (patch)
treea85003435bc76a913dfecf84770caa7e36a81788 /src/include/gnunet_crypto_lib.h
parentef86866cee09c03bf426f1c84c15ecae0e5ba39d (diff)
downloadgnunet-ba904cc4b383577bb393786b53f557ccaffdd7f3.tar.gz
gnunet-ba904cc4b383577bb393786b53f557ccaffdd7f3.zip
use proper return type
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r--src/include/gnunet_crypto_lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index 8c3f4f058..03fb16a43 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -619,7 +619,7 @@ GNUNET_CRYPTO_hash_to_enc (const struct GNUNET_HashCode *block,
619 * @param result where to store the hash code 619 * @param result where to store the hash code
620 * @return #GNUNET_OK on success, #GNUNET_SYSERR if result has the wrong encoding 620 * @return #GNUNET_OK on success, #GNUNET_SYSERR if result has the wrong encoding
621 */ 621 */
622int 622enum GNUNET_GenericReturnValue
623GNUNET_CRYPTO_hash_from_string2 (const char *enc, 623GNUNET_CRYPTO_hash_from_string2 (const char *enc,
624 size_t enclen, 624 size_t enclen,
625 struct GNUNET_HashCode *result); 625 struct GNUNET_HashCode *result);