X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcipher.h;h=c586fffb787f0f1cf132f70a2da3ddac5ffe6b10;hb=45063953fd3f2c25c7f8cc65860b32a35b3ba80e;hp=a3bdc2e7a20846e24b6f8aefbdf43ea85063506c;hpb=0acdce222ff21c84cafc82c137e3d1e107a66fd9;p=tinc diff --git a/src/cipher.h b/src/cipher.h index a3bdc2e7..c586fffb 100644 --- a/src/cipher.h +++ b/src/cipher.h @@ -26,9 +26,9 @@ typedef struct cipher cipher_t; -extern cipher_t *cipher_open_by_name(const char *); -extern cipher_t *cipher_open_by_nid(int); -extern cipher_t *cipher_open_blowfish_ofb(void); +extern cipher_t *cipher_open_by_name(const char *) __attribute__ ((__malloc__)); +extern cipher_t *cipher_open_by_nid(int) __attribute__ ((__malloc__)); +extern cipher_t *cipher_open_blowfish_ofb(void) __attribute__ ((__malloc__)); extern void cipher_close(cipher_t *); extern size_t cipher_keylength(const cipher_t *); extern void cipher_get_key(const cipher_t *, void *);