Home
last modified time | relevance | path

Searched refs:ssl_socket (Results 1 – 2 of 2) sorted by relevance

/thrift-3.4.0/lib/c_glib/src/thrift/c_glib/transport/
Dthrift_ssl_socket.c243 ThriftSSLSocket *ssl_socket = THRIFT_SSL_SOCKET (transport); in thrift_ssl_socket_peek() local
248 rc = SSL_peek(ssl_socket->ssl, &byte, 1); in thrift_ssl_socket_peek()
250 thrift_ssl_socket_get_ssl_error(ssl_socket, (const guchar*)"Check socket data", in thrift_ssl_socket_peek()
283 ThriftSSLSocket *ssl_socket = THRIFT_SSL_SOCKET(transport); in thrift_ssl_socket_close() local
284 if(ssl_socket!=NULL && ssl_socket->ssl) { in thrift_ssl_socket_close()
285 SSL_shutdown(ssl_socket->ssl); in thrift_ssl_socket_close()
286 SSL_free(ssl_socket->ssl); in thrift_ssl_socket_close()
287 ssl_socket->ssl = NULL; in thrift_ssl_socket_close()
299 ThriftSSLSocket *ssl_socket = THRIFT_SSL_SOCKET (transport); in thrift_ssl_socket_read() local
308 g_return_val_if_fail (socket->sd != THRIFT_INVALID_SOCKET && ssl_socket->ssl!=NULL, FALSE); in thrift_ssl_socket_read()
[all …]
Dthrift_ssl_socket.h130 void thrift_ssl_socket_set_manager(ThriftSSLSocket *ssl_socket, AUTHORIZATION_MANAGER_CALLBACK call…
162 thrift_ssl_load_cert_from_file(ThriftSSLSocket *ssl_socket, const char *file_name);
171 thrift_ssl_load_cert_from_buffer(ThriftSSLSocket *ssl_socket, const char chain_certs[]);