Make crypto_secretbox_xsalsa20poly1305_open() as __warn_unused_result__
This commit is contained in:
parent
669ed597d0
commit
d4f384e388
@ -45,7 +45,8 @@ int crypto_secretbox_xsalsa20poly1305_open(unsigned char *m,
|
|||||||
const unsigned char *c,
|
const unsigned char *c,
|
||||||
unsigned long long clen,
|
unsigned long long clen,
|
||||||
const unsigned char *n,
|
const unsigned char *n,
|
||||||
const unsigned char *k);
|
const unsigned char *k)
|
||||||
|
__attribute__ ((warn_unused_result));
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user