aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/ui.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-04-30 11:41:45 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-30 20:18:46 +0200
commitd0eb8ffd2410ff68b32c922c65261742332dc864 (patch)
treeeace166b07cce61297e4231670e31d0c2106ef69 /ui/ui.go
parentversion: add missing zsyscall (diff)
downloadwireguard-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 'ui/ui.go')
-rw-r--r--ui/ui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.go b/ui/ui.go
index 7cb2744a..f52e6ac3 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -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.")