From 568528c747afe3ae991b0340d15cd6a897fd5c9d Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 6 May 2019 09:46:10 +0200 Subject: updater: move into manager --- version/debugging_linux.go | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'version') diff --git a/version/debugging_linux.go b/version/debugging_linux.go index df5dbd2f..2a7164ec 100644 --- a/version/debugging_linux.go +++ b/version/debugging_linux.go @@ -5,11 +5,13 @@ package version -// For testing the updater package from linux. Debug stuff only. +import ( + "bytes" + "fmt" + "golang.org/x/sys/unix" +) -func IsOfficialPath(path string) bool { - return true -} +// For testing the updater package from linux. Debug stuff only. func utsToStr(u [65]byte) string { i := bytes.IndexByte(u[:], 0) @@ -30,3 +32,7 @@ func OsName() string { func RunningVersion() string { return "0.0.0.0" } + +func VerifyAuthenticode(path string) bool { + return true +} \ No newline at end of file -- cgit v1.2.3-59-g8ed1b