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.
|
|
|
|
|
2022-04-15 11:53:09 +02:00
|
|
|
//go:build !cgo
|
2020-05-05 19:38:58 +02:00
|
|
|
|
|
|
|
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() {}
|