Don't use crypto_shorthash_keygen()
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
@@ -159,7 +159,7 @@ gt_bind(int argc, char **argv)
|
||||
}
|
||||
|
||||
unsigned char hashkey[crypto_shorthash_KEYBYTES];
|
||||
crypto_shorthash_keygen(hashkey);
|
||||
randombytes_buf(hashkey, sizeof(hashkey));
|
||||
|
||||
struct mud *mud = mud_create((struct sockaddr *)&bind_addr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user