dup-keygen: fix warning: return 0 in keygen() - dedup - deduplicating backup program
HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 71a4d3f3b018e156ce2b93d200b78e12bd0d3894
DIR parent 272704508fe267c4f4b3c3d28be679ccda76cc0c
HTML 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(-)
---
DIR 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