aboutsummaryrefslogtreecommitdiffstats
path: root/g10/export.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-12-01 10:54:51 +0000
committerWerner Koch <[email protected]>2014-12-01 10:54:51 +0000
commitf1c3eb4b16ca43b5d3712a3b54c22d17ce85af47 (patch)
tree182e124446ae81899880017c1dbeaac5579c114a /g10/export.c
parentscd: Implement socket redirection. (diff)
downloadgnupg-f1c3eb4b16ca43b5d3712a3b54c22d17ce85af47.tar.gz
gnupg-f1c3eb4b16ca43b5d3712a3b54c22d17ce85af47.zip
gpg: Fix export bug using exact search with only one key in the keybox.
* g10/export.c (do_export_stream): Disable caching. * g10/keyserver.c (keyidlist): Ditto. -- GnuPG-bug-id: 1774
Diffstat (limited to '')
-rw-r--r--g10/export.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/export.c b/g10/export.c
index a92eace12..b65fb8d06 100644
--- a/g10/export.c
+++ b/g10/export.c
@@ -804,6 +804,8 @@ do_export_stream (ctrl_t ctrl, iobuf_t out, strlist_t users, int secret,
sl->d, gpg_strerror (err));
}
+ keydb_disable_caching (kdbhd); /* We are looping the search. */
+
/* It would be nice to see which of the given users did actually
match one in the keyring. To implement this we need to have
a found flag for each entry in desc. To set this flag we