summaryrefslogtreecommitdiffstats
path: root/dirmngr
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 /dirmngr
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 'dirmngr')
-rw-r--r--dirmngr/ks-engine-hkp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/ks-engine-hkp.c b/dirmngr/ks-engine-hkp.c
index c115cf562..8c3384d49 100644
--- a/dirmngr/ks-engine-hkp.c
+++ b/dirmngr/ks-engine-hkp.c
@@ -925,7 +925,7 @@ armor_data (char **r_string, const void *data, size_t datalen)
*r_string = NULL;
- fp = es_fopenmem (0, "rw");
+ fp = es_fopenmem (0, "rw,samethread");
if (!fp)
return gpg_error_from_syserror ();