gomuks/matrix/nocrypto.go

14 lines
244 B
Go
Raw Normal View History

2020-05-05 19:38:58 +02:00
// 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
}