|
|
|
@ -270,8 +270,8 @@ func main() {
|
|
|
|
|
// Also for listening mode and Ox key handling.
|
|
|
|
|
if !*flagInteractive && !*flagListen && *flagHTTPUpload == "" &&
|
|
|
|
|
!*flagOxDeleteNodes && *flagOxImportPrivKey == "" &&
|
|
|
|
|
!*flagOxGenPrivKeyX25519 && !*flagOxGenPrivKeyRSA {
|
|
|
|
|
if message == "" {
|
|
|
|
|
!*flagOxGenPrivKeyX25519 && !*flagOxGenPrivKeyRSA &&
|
|
|
|
|
message == "" {
|
|
|
|
|
|
|
|
|
|
scanner := bufio.NewScanner(os.Stdin)
|
|
|
|
|
for scanner.Scan() {
|
|
|
|
@ -289,7 +289,6 @@ func main() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Remove invalid code points.
|
|
|
|
|
message = validUTF8(message)
|
|
|
|
|