mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
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.
This commit is contained in:
parent
60e2fc7d38
commit
6477e51919
@ -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 ();
|
||||
|
||||
|
@ -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 ();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user