diff options
author | Kevin McCarthy <kevin@8t8.us> | 2024-04-20 11:46:40 +0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2024-04-20 11:46:40 +0800 |
commit | 1f3da81014914afad4b07086a7d56af9ee32f9aa (patch) | |
tree | 8d350803a3b9882f1b48a4d85aa06bf1cdec2fec | |
parent | 762590bb92591061529309d2f346702137a228a2 (diff) | |
parent | 0af8a6fcdbe8550bababd51c4da1772c75f77912 (diff) |
-rw-r--r-- | crypt-gpgme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypt-gpgme.c b/crypt-gpgme.c index fdf44af4..5313d6f2 100644 --- a/crypt-gpgme.c +++ b/crypt-gpgme.c @@ -2013,7 +2013,7 @@ restart: gpgme_decrypt_result_t result; result = gpgme_op_decrypt_result (ctx); - if (!result->unsupported_algorithm) + if (result && !result->unsupported_algorithm) { maybe_signed = 1; gpgme_data_release (plaintext); |