tech-userlevel archive

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

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



In article <d31b57e1-9ad-f615-e6e0-9a59dda657b%SDF.ORG@localhost>,
RVP  <rvp%SDF.ORG@localhost> wrote:
>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);

committed.

christos



Home | Main Index | Thread Index | Old Index