]> git.meshlink.io Git - meshlink/blobdiff - src/ed25519/ecdh.c
Rename mesh_mutex to mutex.
[meshlink] / src / ed25519 / ecdh.c
index f9a0ff06bdf69da097fccdf28f515a3343d773ca..844b0fcc02b1ba1c86167ebde382e53ea8834b67 100644 (file)
@@ -1,6 +1,6 @@
 /*
     ecdh.c -- Diffie-Hellman key exchange handling
-    Copyright (C) 2011-2013 Guus Sliepen <guus@tinc-vpn.org>
+    Copyright (C) 2014 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
@@ -31,7 +31,7 @@ typedef struct ecdh_t {
 #include "../xalloc.h"
 
 ecdh_t *ecdh_generate_public(void *pubkey) {
-       ecdh_t *ecdh = xzalloc(sizeof *ecdh);
+       ecdh_t *ecdh = xzalloc(sizeof * ecdh);
 
        uint8_t seed[32];
        randomize(seed, sizeof seed);