diff options
Diffstat (limited to 'internal/stupidgcm')
| -rw-r--r-- | internal/stupidgcm/prefer.go | 4 | ||||
| -rw-r--r-- | internal/stupidgcm/without_openssl.go | 2 | 
2 files changed, 3 insertions, 3 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  	} diff --git a/internal/stupidgcm/without_openssl.go b/internal/stupidgcm/without_openssl.go index deac342..4a14e73 100644 --- a/internal/stupidgcm/without_openssl.go +++ b/internal/stupidgcm/without_openssl.go @@ -6,7 +6,7 @@ import (  	"fmt"  	"os" -	"github.com/rfjakob/gocryptfs/internal/exitcodes" +	"github.com/rfjakob/gocryptfs/v2/internal/exitcodes"  )  type StupidGCM struct{} | 
