Make crypto_secretbox_xsalsa20poly1305_open() as __warn_unused_result__

This commit is contained in:
Frank Denis 2016-11-26 19:44:51 +01:00
parent 669ed597d0
commit d4f384e388

View File

@ -45,7 +45,8 @@ int crypto_secretbox_xsalsa20poly1305_open(unsigned char *m,
const unsigned char *c,
unsigned long long clen,
const unsigned char *n,
const unsigned char *k);
const unsigned char *k)
__attribute__ ((warn_unused_result));
#ifdef __cplusplus
}