tRemove duplicate deriv() call - safe - password protected secret keeper
(HTM) git clone git://git.z3bra.org/safe.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 2439226cb260c2c813d69e7a71cb0e2cdf739625
(DIR) parent 65e4f6001d14f83bbbd27e6478b6711da3fb0009
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 24 Jun 2019 18:06:48 +0200
Remove duplicate deriv() call
Diffstat:
M safe.c | 2 --
1 file changed, 0 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/safe.c b/safe.c
t@@ -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");