Home GnuPG
Diffusion GnuPG 892b33bb2c57

dirmngr: Fix alignment of ADDR.

Description

dirmngr: Fix alignment of ADDR.

* dirmngr/dns-stuff.h (dns_addrinfo_s): Use struct sockaddr_storage
for size and alignment.
* dirmngr/dns-stuff.c (resolve_name_libdns): Follow the change.
(resolve_dns_name): Use struct sockaddr_storage.
(resolve_addr_standard, resolve_dns_addr): Likewise.
(resolve_dns_addr): Likewise.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 13 2017, 7:33 AM
Parents
rG37018adce6ea: dirmngr: Fix thread key type.
Branches
Unknown
Tags
Unknown