Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dirmngr,w32: Hack around a select problem. | Werner Koch | 2016-12-19 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | * dirmngr/dns.c (FD_SETSIZE): Bump up to 1024. (dns_poll): Return an error instead of hitting an assertion failure. -- For unknown reasons socket() return fd with values 244, 252, 268. The latter is above the FD_SETSIZE of 256. It seems that select has been build with a highler FD_SETSIZE limit. Bump up to a reasonable large value. A better solution would be to grab some code from npth_eselect to replace select. We could also use npth_eselect direclty in dns-stuff.c instead of using dns_res_poll. Signed-off-by: Werner Koch <[email protected]> | ||||
* | dirmngr: New libdns snapshot | Justus Winter | 2016-12-14 | 1 | -61/+154 |
| | |||||
* | dirmngr: Add basic libdns support | Justus Winter | 2016-12-14 | 1 | -0/+11152 |
* dirmngr/dns.c: New file. * dirmngr/dns.h: New file. * dirmngr/Makefile.am (dirmngr_SOURCES): Add new files. * dirmngr/dns-stuff.c: Include dns.h.xxx use libdns (libdns): New global var for the libdns state. (libdns_error_to_gpg_error): New. (libdns_init): New. (resolve_name_libdns): New. (get_dns_cert_libdns): New stub. (getsrv_libdns): New stub. (get_dns_cname_libdns): New stub. Signed-off-by: Justus Winter <[email protected]> |