]> git.meshlink.io Git - meshlink/blobdiff - src/ed25519/ecdh.c
Update astylerc and reformat the code.
[meshlink] / src / ed25519 / ecdh.c
index 94ebab601ce5f97b33a3d0be703a9bcee3af2702..844b0fcc02b1ba1c86167ebde382e53ea8834b67 100644 (file)
@@ -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);