commit 71a4d3f3b018e156ce2b93d200b78e12bd0d3894 parent 272704508fe267c4f4b3c3d28be679ccda76cc0c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 2 May 2019 17:08:07 +0200 dup-keygen: fix warning: return 0 in keygen() Diffstat:
M | key.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/key.c b/key.c @@ -14,6 +14,7 @@ keygen(unsigned char *key, size_t n) if (sodium_init() < 0) return -1; crypto_aead_xchacha20poly1305_ietf_keygen(key); + return 0; } int