diff options
author | Jakob Unterwurzacher | 2017-02-24 09:46:10 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-02-24 09:46:10 +0100 |
commit | a65965783a03645eb427e1958e5b9f9663b18951 (patch) | |
tree | 762c9f66178c5db742440ef554e053febcb6f87e | |
parent | 43d6aa66770dd327448c42ad2831fedbf7acd333 (diff) |
stupidgcm: drop only external dependecy
This makes it easier to use the package in external projects.
See https://github.com/rfjakob/gocryptfs/issues/79
-rw-r--r-- | internal/stupidgcm/without_openssl.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/stupidgcm/without_openssl.go b/internal/stupidgcm/without_openssl.go index 406168c..18c5ddc 100644 --- a/internal/stupidgcm/without_openssl.go +++ b/internal/stupidgcm/without_openssl.go @@ -3,9 +3,8 @@ package stupidgcm import ( + "fmt" "os" - - "github.com/rfjakob/gocryptfs/internal/tlog" ) type stupidGCM struct{} @@ -16,7 +15,7 @@ const ( ) func errExit() { - tlog.Fatal.Println("gocryptfs has been compiled without openssl support but you are still trying to use openssl") + fmt.Fprintln(os.Stderr, "gocryptfs has been compiled without openssl support but you are still trying to use openssl") os.Exit(2) } |