From a65965783a03645eb427e1958e5b9f9663b18951 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Fri, 24 Feb 2017 09:46:10 +0100 Subject: stupidgcm: drop only external dependecy This makes it easier to use the package in external projects. See https://github.com/rfjakob/gocryptfs/issues/79 --- internal/stupidgcm/without_openssl.go | 5 ++--- 1 file 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) } -- cgit v1.2.3