From 1181a47cb475fc49944932250b2acd77a854cbb8 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 16 Sep 2017 23:37:52 +0200 Subject: [PATCH] Proper xchacha20poly1305_MESSAGEBYTES_MAX definition --- .../include/sodium/crypto_secretstream_xchacha20poly1305.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/include/sodium/crypto_secretstream_xchacha20poly1305.h b/src/libsodium/include/sodium/crypto_secretstream_xchacha20poly1305.h index 442c885b..2e57ed13 100644 --- a/src/libsodium/include/sodium/crypto_secretstream_xchacha20poly1305.h +++ b/src/libsodium/include/sodium/crypto_secretstream_xchacha20poly1305.h @@ -30,7 +30,7 @@ SODIUM_EXPORT size_t crypto_secretstream_xchacha20poly1305_keybytes(void); #define crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX \ - ((1ULL << 32) - 2ULL * 64ULL) + (((1ULL << 32) - 2ULL) * 64ULL) SODIUM_EXPORT size_t crypto_secretstream_xchacha20poly1305_messagebytes_max(void);