summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-07 20:19:37 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-07 20:19:37 -0400
commit2578c950fc47d3edfd30375d91e0d415c4f32be0 (patch)
treebc6f83dde8156298ccb7ef93b00eaf21bcc1e2a9 /Build
parente26dccc10ded226f057ec2a64bf069c79f3352c7 (diff)
SHA: Add a runtime sanity check that sha commands output something that appears to be a real sha.
This after fielding a bug where git-annex was built with a sha256 program whose output checked out, but was then run with one that output lines like: SHA256 (file) = <sha here> Which it then parsed as having a SHA256 of "SHA256"! Now the output of the command is required to be of the right length, and contain only the right characters.
Diffstat (limited to 'Build')
0 files changed, 0 insertions, 0 deletions