Searched refs:tlsSession (Results 1 – 5 of 5) sorted by relevance
/external/libvncserver/libvncclient/ |
D | tls_gnutls.c | 136 if (client->tlsSession) return TRUE; in InitializeTLSSession() 138 if ((ret = gnutls_init((gnutls_session_t*)&client->tlsSession, GNUTLS_CLIENT)) < 0) in InitializeTLSSession() 144 if ((ret = gnutls_priority_set_direct((gnutls_session_t)client->tlsSession, in InitializeTLSSession() 150 gnutls_transport_set_ptr((gnutls_session_t)client->tlsSession, (gnutls_transport_ptr_t)client); in InitializeTLSSession() 151 gnutls_transport_set_push_function((gnutls_session_t)client->tlsSession, PushTLS); in InitializeTLSSession() 152 gnutls_transport_set_pull_function((gnutls_session_t)client->tlsSession, PullTLS); in InitializeTLSSession() 166 …(ret = gnutls_credentials_set((gnutls_session_t)client->tlsSession, GNUTLS_CRD_ANON, anonCred)) < … in SetTLSAnonCredential() 182 while (timeout > 0 && (ret = gnutls_handshake((gnutls_session_t)client->tlsSession)) < 0) in HandshakeTLS() 441 …if ((ret = gnutls_credentials_set((gnutls_session_t)client->tlsSession, GNUTLS_CRD_CERTIFICATE, x5… in HandleVeNCryptAuth() 464 ret = gnutls_record_recv((gnutls_session_t)client->tlsSession, out, n); in ReadFromTLS() [all …]
|
D | tls_openssl.c | 304 if (client->tlsSession) return TRUE; in InitializeTLSSession() 306 client->tlsSession = open_ssl_connection (client, client->sock, anonTLS); in InitializeTLSSession() 308 if (!client->tlsSession) in InitializeTLSSession() 331 while (timeout > 0 && (ret = SSL_do_handshake(client->tlsSession)) < 0) in HandshakeTLS() 552 ret = SSL_read (client->tlsSession, out, n); in ReadFromTLS() 557 errno = ssl_errno (client->tlsSession, ret); in ReadFromTLS() 576 ret = SSL_write (client->tlsSession, buf + offset, (size_t)(n-offset)); in WriteToTLS() 579 errno = ssl_errno (client->tlsSession, ret); in WriteToTLS() 611 SSL_free(client->tlsSession); in FreeTLS()
|
D | sockets.c | 157 if (client->tlsSession) { in ReadFromRFBServer() 195 if (client->tlsSession) { in ReadFromRFBServer() 255 if (client->tlsSession) { in WriteToRFBServer()
|
D | vncviewer.c | 226 client->tlsSession = NULL; in rfbGetClient()
|
/external/libvncserver/rfb/ |
D | rfbclient.h | 319 void* tlsSession; member
|