Home
last modified time | relevance | path

Searched refs:handshake (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/resolve/
Dresolved-dnstls-gnutls.c88 stream->dnstls_data.handshake = gnutls_handshake(gs); in dnstls_stream_connect_tls()
89 … if (stream->dnstls_data.handshake < 0 && gnutls_error_is_fatal(stream->dnstls_data.handshake)) in dnstls_stream_connect_tls()
124 } else if (stream->dnstls_data.handshake < 0) { in dnstls_stream_on_io()
125 stream->dnstls_data.handshake = gnutls_handshake(stream->dnstls_data.session); in dnstls_stream_on_io()
126 if (stream->dnstls_data.handshake == GNUTLS_E_AGAIN) { in dnstls_stream_on_io()
129 } else if (stream->dnstls_data.handshake < 0) { in dnstls_stream_on_io()
130 …log_debug("Failed to invoke gnutls_handshake: %s", gnutls_strerror(stream->dnstls_data.handshake)); in dnstls_stream_on_io()
131 if (gnutls_error_is_fatal(stream->dnstls_data.handshake)) in dnstls_stream_on_io()
149 …ream->server->dnstls_data.session_data.size == 0 && stream->dnstls_data.handshake == GNUTLS_E_SUCC… in dnstls_stream_shutdown()
Dresolved-dnstls-openssl.c110 stream->dnstls_data.handshake = SSL_do_handshake(s); in dnstls_stream_connect_tls()
111 if (stream->dnstls_data.handshake <= 0) { in dnstls_stream_connect_tls()
112 error = SSL_get_error(s, stream->dnstls_data.handshake); in dnstls_stream_connect_tls()
197 } else if (stream->dnstls_data.handshake <= 0) { in dnstls_stream_on_io()
199 stream->dnstls_data.handshake = SSL_do_handshake(stream->dnstls_data.ssl); in dnstls_stream_on_io()
200 if (stream->dnstls_data.handshake <= 0) { in dnstls_stream_on_io()
201 … error = SSL_get_error(stream->dnstls_data.ssl, stream->dnstls_data.handshake); in dnstls_stream_on_io()
Dresolved-dnstls-gnutls.h22 int handshake; member
Dresolved-dnstls-openssl.h20 int handshake; member