[PATCH 1/3] sha1: update pointer and remaining length after subfunction call

2012-09-12 Thread Yann Droneaud
There's no need to update the pointer and remaining length before leaving or calling the SHA1 sub function. Additionnaly, the partial block code could be looking more like the full block handling branch. Signed-off-by: Yann Droneaud ydrone...@opteya.com --- block-sha1/sha1.c | 4 ++-- 1 file

Re: [PATCH 1/3] sha1: update pointer and remaining length after subfunction call

2012-09-12 Thread Junio C Hamano
Yann Droneaud ydrone...@opteya.com writes: There's no need to update the pointer and remaining length before leaving or calling the SHA1 sub function. Additionnaly, the partial block code could be looking more like the full block handling branch. Signed-off-by: Yann Droneaud