my computer will still die soon
This commit is contained in:
1 parent
e80f2601ab
commit
52a13b9cab
7 files changed
+62
-6
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ func (this Hash) New() (hash.Hash, error) {
|
||||
case SHA512:
|
||||
return cryptoSHA512.New(), nil
|
||||
default:
|
||||
msg := fmt.Sprintf("hash '%s' is not supported")
|
||||
msg := fmt.Sprintf("hash '%s' is not supported", this)
|
||||
return nil, errors.New(msg)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user