diff options
author | Jakob Unterwurzacher | 2021-08-23 15:05:15 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-08-23 15:05:15 +0200 |
commit | 69d88505fd7f4cb0d9e4f1918de296342fe05858 (patch) | |
tree | bbe102cb74b8d17b39ef16e3ab9b32cf94a314a4 /internal/stupidgcm/prefer.go | |
parent | c9abfc8f06e1e0ce8e8b7ca480507647572a5df7 (diff) |
go mod: declare module version v2
Our git version is v2+ for some time now, but go.mod
still declared v1. Hopefully making both match makes
https://pkg.go.dev/github.com/rfjakob/gocryptfs/v2 work.
All the import paths have been fixed like this:
find . -name \*.go | xargs sed -i s%github.com/rfjakob/gocryptfs/%github.com/rfjakob/gocryptfs/v2/%
Diffstat (limited to 'internal/stupidgcm/prefer.go')
-rw-r--r-- | internal/stupidgcm/prefer.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/stupidgcm/prefer.go b/internal/stupidgcm/prefer.go index bacd56a..94c1b6c 100644 --- a/internal/stupidgcm/prefer.go +++ b/internal/stupidgcm/prefer.go @@ -14,7 +14,7 @@ import ( // 2) Is ARM64 && has AES instructions && Go is v1.11 or higher // (commit https://github.com/golang/go/commit/4f1f503373cda7160392be94e3849b0c9b9ebbda) // -// See https://github.com/rfjakob/gocryptfs/wiki/CPU-Benchmarks +// See https://github.com/rfjakob/gocryptfs/v2/wiki/CPU-Benchmarks // for benchmarks. func PreferOpenSSL() bool { if BuiltWithoutOpenssl { @@ -26,7 +26,7 @@ func PreferOpenSSL() bool { return false } // On the Apple M1, Go stdlib is faster than OpenSSL, despite cpu.ARM64.HasAES - // reading false: https://github.com/rfjakob/gocryptfs/issues/556#issuecomment-848079309 + // reading false: https://github.com/rfjakob/gocryptfs/v2/issues/556#issuecomment-848079309 if runtime.GOOS == "darwin" && runtime.GOARCH == "arm64" { return false } |