diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-05-03 22:41:29 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-05-04 14:10:32 +0200 |
commit | 21fca56292df154a0ec0346479f619900ffc1db9 (patch) | |
tree | 4a71f55cd92e4110859490269370b8fe27a359ac /lib/keepalive_linux.go | |
parent | dbf52bb4b48748586bb6343ae4ad6d424f0631ac (diff) | |
download | aerc-21fca56292df154a0ec0346479f619900ffc1db9.tar.gz |
pgp: fix crash on gpg decrypt fail
The gpg decrypt function was catching errors but not returning them.
This patch returns errors that are caught instead of aerc panicking.
Reported-by: ReK2 <rek2@hispagatos.org>
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Tested-by: ReK2 <rek2@hispagatos.org>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/keepalive_linux.go')
0 files changed, 0 insertions, 0 deletions