aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
Diffstat (limited to 'g10')
-rw-r--r--g10/ChangeLog5
-rw-r--r--g10/mainproc.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index e54a8edfc..4ec287bea 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-20 Werner Koch <[email protected]>
+
+ * mainproc.c (print_pkenc_list): Write a STATUS_ERROR. Fixes
+ bug#1255.
+
2010-06-17 Werner Koch <[email protected]>
* gpg.c (main): Use CAST5 as default s2k algo. The macro
diff --git a/g10/mainproc.c b/g10/mainproc.c
index d397a4fd8..87e99126a 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -481,8 +481,11 @@ print_pkenc_list( struct kidlist_item *list, int failed )
}
}
else if (list->reason)
+ {
log_info(_("public key decryption failed: %s\n"),
g10_errstr(list->reason));
+ write_status_error ("pkdecrypt_failed", list->reason);
+ }
}
}