/usr/share/gocode/src/github.com/twstrike/otr3/hash.go is in golang-github-twstrike-otr3-dev 0.0~git20161015.0.744856d-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | package otr3
import (
"crypto/sha1"
"hash"
)
func fingerprintHashInstanceForVersion(v int) hash.Hash {
switch v {
case 2, 3:
return sha1.New()
}
return nil
}
|