mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
dirmngr: Do not block during ADNS calls.
* dirmngr/dns-stuff.c: Include npth.h (my_unprotect, my_protect): New wrapper. (resolve_name_adns): Put unprotect/protect around adns calls. (get_dns_cert): Ditto. (getsrv): Ditto. (get_dns_cname): Ditto. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
a2cc1d5755
commit
a3b26d6c08
2 changed files with 36 additions and 8 deletions
|
@ -142,6 +142,7 @@ t_ldap_parse_uri_SOURCES = \
|
|||
t_ldap_parse_uri_CFLAGS = -DWITHOUT_NPTH=1
|
||||
t_ldap_parse_uri_LDADD = $(ldaplibs) $(t_common_ldadd) $(DNSLIBS)
|
||||
|
||||
t_dns_stuff_CFLAGS = -DWITHOUT_NPTH=1
|
||||
t_dns_stuff_SOURCES = t-dns-stuff.c dns-stuff.c
|
||||
t_dns_stuff_LDADD = $(t_common_ldadd) $(DNSLIBS)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue