stupidgcm: drop only external dependecy

This makes it easier to use the package in external projects.

See https://github.com/rfjakob/gocryptfs/issues/79
This commit is contained in:
Jakob Unterwurzacher 2017-02-24 09:46:10 +01:00
parent 43d6aa6677
commit a65965783a
1 changed files with 2 additions and 3 deletions

View File

@ -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)
}