tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/libcrypt/crypt-argon2.c: ctx.{out,outlen} assigned twice



Looks like ctx.{out,outlen} are being assigned twice:

---START---
--- lib/libcrypt/crypt-argon2.c.orig	2021-11-22 21:56:12.532724453 +0000
+++ lib/libcrypt/crypt-argon2.c	2022-02-11 09:59:51.260664174 +0000
@@ -386,9 +386,6 @@

 	/* we use static buffers to avoid allocation */
 	/* and easier cleanup */
-	ctx.out = (uint8_t *)ebuf;
-	ctx.outlen = sizeof(ebuf);
-
 	ctx.out = (uint8_t *)encodebuf;
 	ctx.outlen = sizeof(encodebuf);

---END---

Thanks,
-RVP


Home | Main Index | Thread Index | Old Index