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:
parent
43d6aa6677
commit
a65965783a
@ -3,9 +3,8 @@
|
|||||||
package stupidgcm
|
package stupidgcm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/rfjakob/gocryptfs/internal/tlog"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type stupidGCM struct{}
|
type stupidGCM struct{}
|
||||||
@ -16,7 +15,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func errExit() {
|
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)
|
os.Exit(2)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user