Miscellaneous bug fixes

This commit is contained in:
2013-08-13 21:55:17 -04:00
parent 2569f4cfbf
commit bdd8032f29
2 changed files with 18 additions and 1 deletions

View File

@ -8,6 +8,7 @@ import (
)
func HashFile(filename string) (string, error) {
//TODO change to sha512?
hashfn := sha256.New()
infile, err := os.Open(filename)