From 54b5a20700a1ed27b1067a7cd55329ddc5b0d611 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 31 Jul 2020 22:59:37 +0200 Subject: fix to nicer style --- contrib/build-common | 2 +- src/include/gnunet_crypto_lib.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/build-common b/contrib/build-common index 1915a74bb..d81bbfabc 160000 --- a/contrib/build-common +++ b/contrib/build-common @@ -1 +1 @@ -Subproject commit 1915a74bbb4cd2ae9bc541a382dfebc37064a2fd +Subproject commit d81bbfabc2538932f631d3946bd6a9b95182b4f2 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)); \ -- cgit v1.2.3