X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Frsagen.h;h=84cd0bb446b14de869b979b99556fe2b39c9cae4;hb=45063953fd3f2c25c7f8cc65860b32a35b3ba80e;hp=3f9c824802ff51b0f625c1cbe686b7defe613824;hpb=0acdce222ff21c84cafc82c137e3d1e107a66fd9;p=meshlink diff --git a/src/rsagen.h b/src/rsagen.h index 3f9c8248..84cd0bb4 100644 --- a/src/rsagen.h +++ b/src/rsagen.h @@ -22,7 +22,7 @@ #include "rsa.h" -extern rsa_t *rsa_generate(size_t bits, unsigned long exponent); +extern rsa_t *rsa_generate(size_t bits, unsigned long exponent) __attribute__ ((__malloc__)); extern bool rsa_write_pem_public_key(rsa_t *rsa, FILE *fp); extern bool rsa_write_pem_private_key(rsa_t *rsa, FILE *fp);