Home
last modified time | relevance | path

Searched refs:dnstls_data (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/resolve/
Dresolved-dnstls-gnutls.c47 … r = gnutls_credentials_set(gs, GNUTLS_CRD_CERTIFICATE, stream->manager->dnstls_data.cert_cred); in dnstls_stream_connect_tls()
51 if (server->dnstls_data.session_data.size > 0) { in dnstls_stream_connect_tls()
52 …gnutls_session_set_data(gs, server->dnstls_data.session_data.data, server->dnstls_data.session_dat… in dnstls_stream_connect_tls()
55 gnutls_free(server->dnstls_data.session_data.data); in dnstls_stream_connect_tls()
56 server->dnstls_data.session_data.data = NULL; in dnstls_stream_connect_tls()
57 server->dnstls_data.session_data.size = 0; in dnstls_stream_connect_tls()
64 stream->dnstls_data.validation.type = GNUTLS_DT_IP_ADDRESS; in dnstls_stream_connect_tls()
66 … stream->dnstls_data.validation.data = (unsigned char*) &server->address.in.s_addr; in dnstls_stream_connect_tls()
67 stream->dnstls_data.validation.size = 4; in dnstls_stream_connect_tls()
69 stream->dnstls_data.validation.data = server->address.in6.s6_addr; in dnstls_stream_connect_tls()
[all …]
Dresolved-dnstls-openssl.c23 if (stream->dnstls_data.buffer_offset < stream->dnstls_data.write_buffer->length) { in dnstls_flush_write_buffer()
24 assert(stream->dnstls_data.write_buffer->data); in dnstls_flush_write_buffer()
27 … iov[0] = IOVEC_MAKE(stream->dnstls_data.write_buffer->data + stream->dnstls_data.buffer_offset, in dnstls_flush_write_buffer()
28 … stream->dnstls_data.write_buffer->length - stream->dnstls_data.buffer_offset); in dnstls_flush_write_buffer()
36 stream->dnstls_data.buffer_offset += ss; in dnstls_flush_write_buffer()
38 … if (stream->dnstls_data.buffer_offset < stream->dnstls_data.write_buffer->length) { in dnstls_flush_write_buffer()
42 BIO_reset(SSL_get_wbio(stream->dnstls_data.ssl)); in dnstls_flush_write_buffer()
43 stream->dnstls_data.buffer_offset = 0; in dnstls_flush_write_buffer()
68 BIO_get_mem_ptr(wb, &stream->dnstls_data.write_buffer); in dnstls_stream_connect_tls()
69 stream->dnstls_data.buffer_offset = 0; in dnstls_stream_connect_tls()
[all …]
Dresolved-dns-stream.h71 DnsTlsStreamData dnstls_data; member
Dresolved-manager.h47 DnsTlsManagerData dnstls_data; member
Dresolved-dns-server.h71 DnsTlsServerData dnstls_data; member