aboutsummaryrefslogtreecommitdiff
path: root/file/names.go
diff options
context:
space:
mode:
Diffstat (limited to 'file/names.go')
-rw-r--r--file/names.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/file/names.go b/file/names.go
index 1ef1246..8ed4a36 100644
--- a/file/names.go
+++ b/file/names.go
@@ -23,7 +23,7 @@ func splitNameExt(fname string) (string, string) {
return file[:len(file)-len(ext)], ext
}
-func CheckNames(pubFile, encFile string) error {
+func ValidateNames(pubFile, encFile string) error {
pubName, pubExt := splitNameExt(pubFile)
encName, encExt := splitNameExt(encFile)
if pubExt != extPub || encExt != extEnc || pubName != encName {