Fix pkg backup -r messages
Remove unused variable
Constify first argument of sha256_buf