diff options
author | Frank Denis | 2025-03-12 00:44:56 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2025-03-12 20:43:23 +0100 |
commit | e3e76e275d8edf294a4a64897f44a5ef0b70bfeb (patch) | |
tree | 7a1af2b9a2ec976f386c1cfb5e25071267939cb1 /internal/stupidgcm | |
parent | 3e852eb354f99fb95b399c68d950298b33ed88ab (diff) |
Revert a few more things
Diffstat (limited to 'internal/stupidgcm')
-rw-r--r-- | internal/stupidgcm/without_aegis.go | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/internal/stupidgcm/without_aegis.go b/internal/stupidgcm/without_aegis.go deleted file mode 100644 index efd665c..0000000 --- a/internal/stupidgcm/without_aegis.go +++ /dev/null @@ -1,28 +0,0 @@ -//go:build without_aegis || !cgo -// +build without_aegis !cgo - -package stupidgcm - -import ( - "fmt" - "os" - - "crypto/cipher" - - "github.com/rfjakob/gocryptfs/v2/internal/exitcodes" -) - -const ( - // BuiltWithoutAegis indicates if openssl been disabled at compile-time - BuiltWithoutAegis = true -) - -type stupidAegis struct { - aead cipher.AEAD -} - -func NewAegis(_ []byte) cipher.AEAD { - fmt.Fprintln(os.Stderr, "I have been compiled without aegis support but you are still trying to use aegis") - os.Exit(exitcodes.Aegis) - return nil -} |