aboutsummaryrefslogtreecommitdiff
path: root/matrix/nocrypto.go
blob: 979afda45c5e2a2791bae3f31ac844d559369d23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// This contains no-op stubs of the methods in crypto.go for non-cgo builds with crypto disabled.

// +build !cgo

package matrix

func isBadEncryptError(err error) bool {
	return false
}

func (c *Container) initCrypto() error {
	return nil
}