mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 23:55:27 +00:00
netmgr: server-side TLS support
Add server-side TLS support to netmgr - that includes moving some of the isc_nm_ functions from tcp.c to a wrapper in netmgr.c calling a proper tcp or tls function, and a new isc_nm_listentls() function. Add DoT support to tcpdns - isc_nm_listentlsdns().
This commit is contained in:
committed by
Ondřej Surý
parent
fb8f1e49ab
commit
b2ee0e9dc3
@@ -506,7 +506,7 @@ isc_sockaddr_fromsockaddr(isc_sockaddr_t *isa, const struct sockaddr *sa) {
|
||||
}
|
||||
|
||||
memset(isa, 0, sizeof(isc_sockaddr_t));
|
||||
memcpy(isa, sa, length);
|
||||
memmove(isa, sa, length);
|
||||
isa->length = length;
|
||||
|
||||
return (ISC_R_SUCCESS);
|
||||
|
Reference in New Issue
Block a user