X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fecdh.h;h=fbd47292b614ca06098dd3153974b918918266c8;hb=37cca72e6c973b77b5d11dcf721ae050edc23586;hp=881ee924e92e893ed743de3ac05473d839e01696;hpb=45063953fd3f2c25c7f8cc65860b32a35b3ba80e;p=tinc diff --git a/src/ecdh.h b/src/ecdh.h index 881ee924..fbd47292 100644 --- a/src/ecdh.h +++ b/src/ecdh.h @@ -28,7 +28,7 @@ typedef struct ecdh ecdh_t; #endif extern ecdh_t *ecdh_generate_public(void *pubkey) __attribute__ ((__malloc__)); -extern bool ecdh_compute_shared(ecdh_t *ecdh, const void *pubkey, void *shared); +extern bool ecdh_compute_shared(ecdh_t *ecdh, const void *pubkey, void *shared) __attribute__ ((__warn_unused_result__)); extern void ecdh_free(ecdh_t *ecdh); #endif