aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/gpg/gpg.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/gpg/gpg.go')
-rw-r--r--lib/crypto/gpg/gpg.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/crypto/gpg/gpg.go b/lib/crypto/gpg/gpg.go
index 00125ba6..e545e1c9 100644
--- a/lib/crypto/gpg/gpg.go
+++ b/lib/crypto/gpg/gpg.go
@@ -3,7 +3,6 @@ package gpg
import (
"bytes"
"io"
- "log"
"os/exec"
"git.sr.ht/~rjarry/aerc/lib/crypto/gpg/gpgbin"
@@ -13,12 +12,9 @@ import (
)
// Mail satisfies the PGPProvider interface in aerc
-type Mail struct {
- logger *log.Logger
-}
+type Mail struct{}
-func (m *Mail) Init(l *log.Logger) error {
- m.logger = l
+func (m *Mail) Init() error {
_, err := exec.LookPath("gpg")
return err
}