npm

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/npm
Log | Files | Refs

commit b57aebdaa7e467592af1ee1608bd3892da112a3e
parent dd0cc99609f813dad0106740da8178da4abf5197
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Tue, 16 Mar 2021 20:27:06 -0500

fix len not being defined

Diffstat:
Mnpwm.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/npwm.c b/npwm.c @@ -46,6 +46,7 @@ int main(int argc, char *argv[]) { die("password is too long"); *c = 0; + len = c - encrypted - SALT_LEN + 1; br_chacha20_ct_run(key, nonce, 0, encrypted, SALT_LEN + len);