Mark the *_primitive() accessors as warn_unused_result
This commit is contained in:
parent
ca188c59fd
commit
02565ad4c8
@ -32,7 +32,8 @@ size_t crypto_kdf_keybytes(void);
|
|||||||
|
|
||||||
#define crypto_kdf_PRIMITIVE "blake2b"
|
#define crypto_kdf_PRIMITIVE "blake2b"
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
const char *crypto_kdf_primitive(void);
|
const char *crypto_kdf_primitive(void)
|
||||||
|
__attribute__ ((warn_unused_result));
|
||||||
|
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
int crypto_kdf_derive_from_key(unsigned char *subkey, size_t subkey_len,
|
int crypto_kdf_derive_from_key(unsigned char *subkey, size_t subkey_len,
|
||||||
|
Loading…
Reference in New Issue
Block a user