Re: [PATCH v4 05/15] luks2: Use correct index variable when looping in luks2_get_keyslot.

2020-11-16 Thread Daniel Kiper
On Sun, Nov 15, 2020 at 10:43:17AM +0100, Patrick Steinhardt wrote: > On Fri, Nov 06, 2020 at 10:44:25PM -0600, Glenn Washburn wrote: > > The loop variable j should be used to index the digests and segments json > > array, instead of the variable i, which is the keyslot index. > > > > Signed-off-by

Re: [PATCH v4 05/15] luks2: Use correct index variable when looping in luks2_get_keyslot.

2020-11-15 Thread Patrick Steinhardt
On Fri, Nov 06, 2020 at 10:44:25PM -0600, Glenn Washburn wrote: > The loop variable j should be used to index the digests and segments json > array, instead of the variable i, which is the keyslot index. > > Signed-off-by: Glenn Washburn Reviewed-by: Patrick Steinhardt > --- > grub-core/disk/

[PATCH v4 05/15] luks2: Use correct index variable when looping in luks2_get_keyslot.

2020-11-06 Thread Glenn Washburn
The loop variable j should be used to index the digests and segments json array, instead of the variable i, which is the keyslot index. Signed-off-by: Glenn Washburn --- grub-core/disk/luks2.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/grub-core/disk/luks2.c b/gr