summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-31 22:59:37 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-31 22:59:37 +0200
commit54b5a20700a1ed27b1067a7cd55329ddc5b0d611 (patch)
tree5a607eeced5cc66dce8b23c16215a8828a15c079
parent8d312646cb57359e89e99ae7e809c2da110babd6 (diff)
fix to nicer style
m---------contrib/build-common0
-rw-r--r--src/include/gnunet_crypto_lib.h2
2 files changed, 1 insertions, 1 deletions
diff --git a/contrib/build-common b/contrib/build-common
-Subproject 1915a74bbb4cd2ae9bc541a382dfebc37064a2f
+Subproject d81bbfabc2538932f631d3946bd6a9b95182b4f
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index c1b0b3b1b..f8eef5406 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -1790,7 +1790,7 @@ GNUNET_CRYPTO_eddsa_verify_ (
*/
#define GNUNET_CRYPTO_eddsa_verify(purp,ps,sig,pub) ({ \
/* check size is set correctly */ \
- GNUNET_assert (htonl ((ps)->purpose.size) == sizeof (*(ps))); \
+ GNUNET_assert (ntohl ((ps)->purpose.size) == sizeof (*(ps))); \
/* check 'ps' begins with the purpose */ \
GNUNET_static_assert (((void*) (ps)) == \
((void*) &(ps)->purpose)); \