summaryrefslogtreecommitdiff
path: root/internal/cryptocore/gcm_go1.4.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cryptocore/gcm_go1.4.go')
-rw-r--r--internal/cryptocore/gcm_go1.4.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/cryptocore/gcm_go1.4.go b/internal/cryptocore/gcm_go1.4.go
index f7b77b2..6b494d7 100644
--- a/internal/cryptocore/gcm_go1.4.go
+++ b/internal/cryptocore/gcm_go1.4.go
@@ -10,6 +10,10 @@ import (
"github.com/rfjakob/gocryptfs/internal/tlog"
)
+const (
+ HaveModernGoGCM = false
+)
+
// goGCMWrapper - This wrapper makes sure gocryptfs can be compiled on Go
// versions 1.4 and lower that lack NewGCMWithNonceSize().
// 128 bit GCM IVs will not work when using built-in Go crypto, obviously, when