aboutsummaryrefslogtreecommitdiff
path: root/file/names.go
diff options
context:
space:
mode:
Diffstat (limited to 'file/names.go')
-rw-r--r--file/names.go6
1 files changed, 3 insertions, 3 deletions
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 {