summaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-07-23 18:16:14 +0200
committerWerner Koch <wk@gnupg.org>2010-07-23 18:16:14 +0200
commita22c38baad4113ce477b2e312e0bec365c0bd6b3 (patch)
treebfa3cedf6beb152420e22687eed1f29bad758ab9 /g10
parent. (diff)
downloadgnupg2-a22c38baad4113ce477b2e312e0bec365c0bd6b3.tar.xz
gnupg2-a22c38baad4113ce477b2e312e0bec365c0bd6b3.zip
Some work on the dirmngr
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 <wk@g10code.com>
+
+ * mainproc.c (print_pkenc_list): Write a STATUS_ERROR. Fixes
+ bug#1255.
+
2010-06-17 Werner Koch <wk@g10code.com>
* 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);
+ }
}
}