ソースを参照

tools: bump upstream version

This now includes the latest ARM64 ChaCha20 implementation, which should
improve performance.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
master
Jason A. Donenfeld 5年前
コミット
ae2f88a9ee
3個のファイルの変更3行の追加5行の削除
  1. +1
    -3
      app/tools/libwg-go/src/api-android.go
  2. +1
    -1
      app/tools/wireguard
  3. +1
    -1
      app/tools/wireguard-go

+ 1
- 3
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)


+ 1
- 1
app/tools/wireguard

@@ -1 +1 @@
Subproject commit 941bb3355d1882dab3d7f65e8b8bf2a5ae3b72be
Subproject commit 40eaf20e04eed44e226fc41bc8e8b159467a7399

+ 1
- 1
app/tools/wireguard-go

@@ -1 +1 @@
Subproject commit 5ace0fdfe237b2062c060fbe30d6fb40965fb1b9
Subproject commit f7170e5de2065f37bac647484b34711db4797394

読み込み中…
キャンセル
保存