diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-31 22:59:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-31 22:59:37 +0200 |
commit | 54b5a20700a1ed27b1067a7cd55329ddc5b0d611 (patch) | |
tree | 5a607eeced5cc66dce8b23c16215a8828a15c079 /src/include/gnunet_crypto_lib.h | |
parent | 8d312646cb57359e89e99ae7e809c2da110babd6 (diff) | |
download | gnunet-54b5a20700a1ed27b1067a7cd55329ddc5b0d611.tar.gz gnunet-54b5a20700a1ed27b1067a7cd55329ddc5b0d611.zip |
fix to nicer style
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
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)); \ |