]> git.meshlink.io Git - meshlink/blobdiff - src/ecdh.h
Change my email address.
[meshlink] / src / ecdh.h
index 881ee924e92e893ed743de3ac05473d839e01696..bd4c13adf08287d4a554df2ef06d649201a2bf12 100644 (file)
@@ -1,6 +1,6 @@
 /*
     ecdh.h -- header file for ecdh.c
-    Copyright (C) 2011-2013 Guus Sliepen <guus@tinc-vpn.org>
+    Copyright (C) 2011-2013 Guus Sliepen <guus@meshlink.io>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -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