safe

Password protected secret keeper
git clone git://git.z3bra.org/safe.git
Log | Files | Refs | README | LICENSE

commit 2439226cb260c2c813d69e7a71cb0e2cdf739625
parent 65e4f6001d14f83bbbd27e6478b6711da3fb0009
Author: Willy Goiffon <dev@z3bra.org>
Date:   Mon, 24 Jun 2019 18:06:48 +0200

Remove duplicate deriv() call

Diffstat:
safe.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/safe.c b/safe.c @@ -242,8 +242,6 @@ writepass(struct safe *s, uint8_t *m, size_t mlen, int fd) crypto_secretstream_xchacha20poly1305_state st; unsigned long long clen; - deriv((char *)passphrase, s); - c = malloc(mlen + crypto_secretstream_xchacha20poly1305_ABYTES); if (!c) err(1, "malloc");