Fix no-cgo build
This commit is contained in:
parent
2790fc42c2
commit
853c148dd5
@ -22,19 +22,25 @@ func autocompleteDevice(cmd *CommandAutocomplete) ([]string, string) {
|
|||||||
return []string{}, ""
|
return []string{}, ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func autocompleteUser(cmd *CommandAutocomplete) ([]string, string) {
|
||||||
|
return []string{}, ""
|
||||||
|
}
|
||||||
|
|
||||||
func cmdNoCrypto(cmd *Command) {
|
func cmdNoCrypto(cmd *Command) {
|
||||||
cmd.Reply("This gomuks was built without encryption support")
|
cmd.Reply("This gomuks was built without encryption support")
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
cmdDevices = cmdNoCrypto
|
cmdDevices = cmdNoCrypto
|
||||||
cmdDevice = cmdNoCrypto
|
cmdDevice = cmdNoCrypto
|
||||||
cmdVerifyDevice = cmdNoCrypto
|
cmdVerifyDevice = cmdNoCrypto
|
||||||
cmdVerify = cmdNoCrypto
|
cmdVerify = cmdNoCrypto
|
||||||
cmdUnverify = cmdNoCrypto
|
cmdUnverify = cmdNoCrypto
|
||||||
cmdBlacklist = cmdNoCrypto
|
cmdBlacklist = cmdNoCrypto
|
||||||
cmdResetSession = cmdNoCrypto
|
cmdResetSession = cmdNoCrypto
|
||||||
cmdImportKeys = cmdNoCrypto
|
cmdImportKeys = cmdNoCrypto
|
||||||
cmdExportKeys = cmdNoCrypto
|
cmdExportKeys = cmdNoCrypto
|
||||||
cmdExportRoomKeys = cmdNoCrypto
|
cmdExportRoomKeys = cmdNoCrypto
|
||||||
|
cmdSSSS = cmdNoCrypto
|
||||||
|
cmdCrossSigning = cmdNoCrypto
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user