vendor/libsodium/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h in rbnacl-libsodium-1.0.5 vs vendor/libsodium/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h in rbnacl-libsodium-1.0.6
- old
+ new
@@ -45,11 +45,12 @@
const unsigned char *c,
unsigned long long clen,
const unsigned char *ad,
unsigned long long adlen,
const unsigned char *npub,
- const unsigned char *k);
+ const unsigned char *k)
+ __attribute__ ((warn_unused_result));
#define crypto_aead_chacha20poly1305_IETF_NPUBBYTES 12U
SODIUM_EXPORT
size_t crypto_aead_chacha20poly1305_ietf_npubbytes(void);
@@ -71,10 +72,12 @@
const unsigned char *c,
unsigned long long clen,
const unsigned char *ad,
unsigned long long adlen,
const unsigned char *npub,
- const unsigned char *k);
+ const unsigned char *k)
+ __attribute__ ((warn_unused_result));
+
#ifdef __cplusplus
}
#endif
#endif