From 64ae9e0462a3378e6581296fa3c663ba61d7f13f Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 24 Jul 2017 11:28:35 +0200 Subject: Split --- file/names.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'file/names.go') diff --git a/file/names.go b/file/names.go index 11310b4..f893294 100644 --- a/file/names.go +++ b/file/names.go @@ -41,14 +41,14 @@ func SigName(msgFile string) string { return msgFile + extSig } -func PubFile(comment string) (string, bool) { +func PubFile(comment string) string { if strings.HasPrefix(comment, verifyWith) { file := comment[len(verifyWith):] if strings.HasSuffix(file, extPub) { - return FindFile(file), true + return FindFile(file) } } - return "", false + return "" } func VerifyWith(secFile string) string { -- cgit v1.2.3