diff options
Diffstat (limited to 'src/libstrongswan/crypto/nonce_gen.h')
-rw-r--r-- | src/libstrongswan/crypto/nonce_gen.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libstrongswan/crypto/nonce_gen.h b/src/libstrongswan/crypto/nonce_gen.h index 8461c4aa0..50f3c0090 100644 --- a/src/libstrongswan/crypto/nonce_gen.h +++ b/src/libstrongswan/crypto/nonce_gen.h @@ -37,8 +37,8 @@ struct nonce_gen_t { * @param buffer pointer where the generated nonce will be written * @return TRUE if nonce allocation was succesful, FALSE otherwise */ - __attribute__((warn_unused_result)) - bool (*get_nonce) (nonce_gen_t *this, size_t size, u_int8_t *buffer); + bool (*get_nonce)(nonce_gen_t *this, size_t size, + u_int8_t *buffer) __attribute__((warn_unused_result)); /** * Generates a nonce and allocates space for it. @@ -47,13 +47,13 @@ struct nonce_gen_t { * @param chunk chunk which will hold the generated nonce * @return TRUE if nonce allocation was succesful, FALSE otherwise */ - __attribute__((warn_unused_result)) - bool (*allocate_nonce) (nonce_gen_t *this, size_t size, chunk_t *chunk); + bool (*allocate_nonce)(nonce_gen_t *this, size_t size, + chunk_t *chunk) __attribute__((warn_unused_result)); /** * Destroys a nonce generator object. */ - void (*destroy) (nonce_gen_t *this); + void (*destroy)(nonce_gen_t *this); }; #endif /** NONCE_GEN_H_ @}*/ |