summaryrefslogtreecommitdiffstats
path: root/g10/call-dirmngr.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-05-06 09:49:26 +0200
committerWerner Koch <wk@gnupg.org>2014-05-06 09:49:26 +0200
commit6477e51919ef97f0f9cc05d10cdc7aa2b89faafe (patch)
tree68898e5c0c201a3a02cf7721d7518bded3d879da /g10/call-dirmngr.c
parentdirmngr: Add support for hkps keyservers. (diff)
downloadgnupg2-6477e51919ef97f0f9cc05d10cdc7aa2b89faafe.tar.xz
gnupg2-6477e51919ef97f0f9cc05d10cdc7aa2b89faafe.zip
Use "samethread" mode keyword for some es_fopenmem.
* dirmngr/ks-engine-hkp.c (armor_data): Add mode keyword. * g10/call-dirmngr.c (ks_put_inq_cb): Ditto. * scd/atr.c (atr_dump): Ditto.
Diffstat (limited to 'g10/call-dirmngr.c')
-rw-r--r--g10/call-dirmngr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/call-dirmngr.c b/g10/call-dirmngr.c
index 73f829ef2..5bddbbeda 100644
--- a/g10/call-dirmngr.c
+++ b/g10/call-dirmngr.c
@@ -593,7 +593,7 @@ ks_put_inq_cb (void *opaque, const char *line)
estream_t fp;
/* Parse the keyblock and send info lines back to the server. */
- fp = es_fopenmem (0, "rw");
+ fp = es_fopenmem (0, "rw,samethread");
if (!fp)
err = gpg_error_from_syserror ();