aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-02-14 11:17:03 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-02-14 11:59:10 +0100
commit1dda748d944943a244143b2230c969be8c4d628b (patch)
tree56aa18a39178de5cb3f8bf48efd644fc16403898
parentToolsInstaller: Require Magisk 18 (diff)
downloadwireguard-android-1dda748d944943a244143b2230c969be8c4d628b.tar.xz
wireguard-android-1dda748d944943a244143b2230c969be8c4d628b.zip
tools: bump upstream version
This now includes the latest ARM64 ChaCha20 implementation, which should improve performance.
-rw-r--r--app/tools/libwg-go/src/api-android.go4
m---------app/tools/wireguard0
m---------app/tools/wireguard-go0
3 files changed, 1 insertions, 3 deletions
diff --git a/app/tools/libwg-go/src/api-android.go b/app/tools/libwg-go/src/api-android.go
index ae4baca..2c28fc7 100644
--- a/app/tools/libwg-go/src/api-android.go
+++ b/app/tools/libwg-go/src/api-android.go
@@ -13,7 +13,6 @@ import (
"bufio"
"git.zx2c4.com/wireguard-go/tun"
"golang.org/x/sys/unix"
- "io/ioutil"
"log"
"math"
"net"
@@ -83,8 +82,7 @@ func wgTurnOn(ifnameRef string, tunFd int32, settings string) int32 {
logger.Debug.Println("Interface has MTU", device.tun.mtu)
- bufferedSettings := bufio.NewReadWriter(bufio.NewReader(strings.NewReader(settings)), bufio.NewWriter(ioutil.Discard))
- setError := ipcSetOperation(device, bufferedSettings)
+ setError := ipcSetOperation(device, bufio.NewReader(strings.NewReader(settings)))
if setError != nil {
unix.Close(int(tunFd))
logger.Error.Println(setError)
diff --git a/app/tools/wireguard b/app/tools/wireguard
-Subproject 941bb3355d1882dab3d7f65e8b8bf2a5ae3b72b
+Subproject 40eaf20e04eed44e226fc41bc8e8b159467a739
diff --git a/app/tools/wireguard-go b/app/tools/wireguard-go
-Subproject 5ace0fdfe237b2062c060fbe30d6fb40965fb1b
+Subproject f7170e5de2065f37bac647484b34711db479739