[U-Boot] [PATCH] autoboot.c: Init SHA buffer size in passwd_abort

2018-01-25 Thread Martin Etnestad
The call to hash_block in passwd_abort fails with error ENOSPC on some systems. The reason is that the variable which specifies the size of the buffer to contain the computed hash does not get initialized. This patch initializes the variable with the size of the buffer. Signed-off-by: Martin

[U-Boot] [PATCH] Initialize SHA buffer size var in passwd_abort

2018-01-12 Thread Martin Etnestad
The call to hash_block in passwd_abort fails with error ENOSPC on some systems. The reason is that the variable which specifies the size of the buffer to contain the computed hash does not get initialized. This patch initializes the variable with the size of the buffer. Signed-off-by: Martin