aboutsummaryrefslogtreecommitdiffstats
path: root/sm/decrypt.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-05-11 15:36:48 +0000
committerWerner Koch <[email protected]>2004-05-11 15:36:48 +0000
commitfdb1933917f9257b911c7e54ad046772c7ab4507 (patch)
treed5eff2339fd602fb48244b0cf988427efabd8eab /sm/decrypt.c
parent* sysutils.c (disable_core_dumps): Only set the current limit. (diff)
downloadgnupg-fdb1933917f9257b911c7e54ad046772c7ab4507.tar.gz
gnupg-fdb1933917f9257b911c7e54ad046772c7ab4507.zip
* sign.c (gpgsm_sign): Include the error source in the final error
message. * decrypt.c (gpgsm_decrypt): Ditto. * fingerprint.c (gpgsm_get_key_algo_info): New. * sign.c (gpgsm_sign): Don't assume RSA in the status line. * keylist.c (list_cert_colon): Really print the algorithm and key length. (list_cert_raw, list_cert_std): Ditto. * gpgsm.h (opt): Add member CONFIG_FILENAME. * gpgsm.c (main): Use it here instead of the local var.
Diffstat (limited to '')
-rw-r--r--sm/decrypt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sm/decrypt.c b/sm/decrypt.c
index 9a21cfb46..de53af9e7 100644
--- a/sm/decrypt.c
+++ b/sm/decrypt.c
@@ -495,7 +495,8 @@ gpgsm_decrypt (ctrl_t ctrl, int in_fd, FILE *out_fp)
if (rc)
{
gpgsm_status (ctrl, STATUS_DECRYPTION_FAILED, NULL);
- log_error ("message decryption failed: %s\n", gpg_strerror (rc));
+ log_error ("message decryption failed: %s <%s>\n",
+ gpg_strerror (rc), gpg_strsource (rc));
}
ksba_cms_release (cms);
gpgsm_destroy_reader (b64reader);