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
|
|
|
|
}
|
2021-02-08 21:42:40 +01:00
|
|
|
|
|
|
|
func (c *Container) cryptoOnLogin() {}
|