aboutsummaryrefslogtreecommitdiff
path: root/go1.4.go
diff options
context:
space:
mode:
Diffstat (limited to 'go1.4.go')
-rw-r--r--go1.4.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/go1.4.go b/go1.4.go
new file mode 100644
index 0000000..939fe91
--- /dev/null
+++ b/go1.4.go
@@ -0,0 +1,5 @@
+// +build !go1.5
+
+// Cause an early compile error on Go 1.4 an lower. We need Go 1.5 for a number
+// of reasons, among them NewGCMWithNonceSize and RawURLEncoding.
+"You need Go 1.5 or higher to compile gocryptfs!"