aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-08-31 08:42:38 +0000
committerWerner Koch <[email protected]>2010-08-31 08:42:38 +0000
commit690dc98c6f8158e710e22414b41ae2ec56716bd5 (patch)
treeb20c8709bb893fb2abab95a9aad94f3e423837e3
parentsupport more hash algorithms to support the v2 card (diff)
downloadgnupg-690dc98c6f8158e710e22414b41ae2ec56716bd5.tar.gz
gnupg-690dc98c6f8158e710e22414b41ae2ec56716bd5.zip
Minor fixes
-rw-r--r--NEWS2
-rw-r--r--README2
-rw-r--r--cipher/rndw32.c4
-rw-r--r--g10/ChangeLog5
-rw-r--r--g10/mainproc.c8
5 files changed, 20 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7090df2ec..480865df2 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@ Noteworthy changes in version 1.4.11
-------------------------------------------------
* Bug fixes.
+
+ * Ignore some GnuPG-2 options.
Noteworthy changes in version 1.4.10 (2009-09-02)
diff --git a/README b/README
index 2f8f36120..9d6160595 100644
--- a/README
+++ b/README
@@ -23,7 +23,7 @@
GnuPG is GNU's tool for secure communication and data storage.
It can be used to encrypt data and to create digital signatures.
It includes an advanced key management facility and is compliant
- with the proposed OpenPGP Internet standard as described in RFC2440.
+ with the proposed OpenPGP Internet standard as described in RFC4880.
GnuPG works best on GNU/Linux or *BSD systems. Most other Unices
are also supported but are not as well tested as the Free Unices.
diff --git a/cipher/rndw32.c b/cipher/rndw32.c
index 7a81860c3..9954cafd7 100644
--- a/cipher/rndw32.c
+++ b/cipher/rndw32.c
@@ -477,6 +477,10 @@ slow_gatherer_windowsNT( void (*add)(const void*, size_t, int), int requester )
* worst-case estimate which is usually nowhere near the actual amount
* required. For example it may report that 128K of memory is required,
* but only return 64K of data */
+#warning How shall we disable get performacne data
+ if (0)
+ log_debug ("Warning: get performance data disabled\n");
+ else
{ pPerfData = xmalloc (cbPerfData);
for (;;) {
dwSize = cbPerfData;
diff --git a/g10/ChangeLog b/g10/ChangeLog
index 0ba1060be..a9233c1f4 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-31 Werner Koch <[email protected]>
+
+ * mainproc.c (print_pkenc_list): Print a STATUS_ERROR. Fixes
+ bug#1255.
+
2010-07-24 Werner Koch <[email protected]>
* cardglue.c (agent_scd_pksign): Allow more hash algorithms when
diff --git a/g10/mainproc.c b/g10/mainproc.c
index ec5952ebf..f46895d54 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -501,8 +501,16 @@ 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));
+ if (is_status_enabled ())
+ {
+ char buf[20+30];
+ snprintf (buf, sizeof buf, "pkdecrypt_failed %d", list->reason);
+ write_status_text (STATUS_ERROR, buf);
+ }
+ }
}
}