diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-04-30 11:41:45 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-04-30 20:18:46 +0200 |
commit | d0eb8ffd2410ff68b32c922c65261742332dc864 (patch) | |
tree | eace166b07cce61297e4231670e31d0c2106ef69 /ui/ui.go | |
parent | version: add missing zsyscall (diff) | |
download | wireguard-windows-d0eb8ffd2410ff68b32c922c65261742332dc864.tar.xz wireguard-windows-d0eb8ffd2410ff68b32c922c65261742332dc864.zip |
version: add certificate checking for official versions
This is an easy circumventable check designed mostly for convenience.
Diffstat (limited to '')
-rw-r--r-- | ui/ui.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ func RunUI() { const keepUpdaterInUnofficialBuild = true go func() { - if !version.IsOfficial() { + if !version.IsRunningOfficialVersion() { mtw.Synchronize(func() { mtw.SetTitle(mtw.Title() + " (unofficial/untrusted/unverified build)") tray.ShowWarning("Unverified WireGuard Build", "The build of WireGuard that you are running is unofficial/untrusted/unverified. You may want to double-check your download source.") |