diff options
m--------- | contrib/build-common | 0 | ||||
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 2 |
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_ ( | |||
1790 | */ | 1790 | */ |
1791 | #define GNUNET_CRYPTO_eddsa_verify(purp,ps,sig,pub) ({ \ | 1791 | #define GNUNET_CRYPTO_eddsa_verify(purp,ps,sig,pub) ({ \ |
1792 | /* check size is set correctly */ \ | 1792 | /* check size is set correctly */ \ |
1793 | GNUNET_assert (htonl ((ps)->purpose.size) == sizeof (*(ps))); \ | 1793 | GNUNET_assert (ntohl ((ps)->purpose.size) == sizeof (*(ps))); \ |
1794 | /* check 'ps' begins with the purpose */ \ | 1794 | /* check 'ps' begins with the purpose */ \ |
1795 | GNUNET_static_assert (((void*) (ps)) == \ | 1795 | GNUNET_static_assert (((void*) (ps)) == \ |
1796 | ((void*) &(ps)->purpose)); \ | 1796 | ((void*) &(ps)->purpose)); \ |