Lines Matching refs:ssl_handle

187 			SSL_shutdown(ftp->ssl_handle);  in ftp_close()
188 SSL_free(ftp->ssl_handle); in ftp_close()
297 ftp->ssl_handle = SSL_new(ctx); in ftp_login()
298 if (ftp->ssl_handle == NULL) { in ftp_login()
304 SSL_set_fd(ftp->ssl_handle, ftp->fd); in ftp_login()
307 res = SSL_connect(ftp->ssl_handle); in ftp_login()
308 err = SSL_get_error(ftp->ssl_handle, res); in ftp_login()
318 SSL_shutdown(ftp->ssl_handle); in ftp_login()
338 SSL_shutdown(ftp->ssl_handle); in ftp_login()
339 SSL_free(ftp->ssl_handle); in ftp_login()
1296 handle = ftp->ssl_handle; in my_send()
1299 handle = ftp->data->ssl_handle; in my_send()
1385 handle = ftp->ssl_handle; in my_recv()
1388 handle = ftp->data->ssl_handle; in my_recv()
1666 ctx = SSL_get_SSL_CTX(ftp->ssl_handle); in data_accept()
1672 data->ssl_handle = SSL_new(ctx); in data_accept()
1673 if (data->ssl_handle == NULL) { in data_accept()
1678 SSL_set_fd(data->ssl_handle, data->fd); in data_accept()
1681 SSL_copy_session_id(data->ssl_handle, ftp->ssl_handle); in data_accept()
1685 session = SSL_get_session(ftp->ssl_handle); in data_accept()
1688 SSL_free(data->ssl_handle); in data_accept()
1693 res = SSL_set_session(data->ssl_handle, session); in data_accept()
1696 SSL_free(data->ssl_handle); in data_accept()
1701 res = SSL_connect(data->ssl_handle); in data_accept()
1702 err = SSL_get_error(data->ssl_handle, res); in data_accept()
1711 SSL_shutdown(data->ssl_handle); in data_accept()
1731 SSL_shutdown(data->ssl_handle); in data_accept()
1732 SSL_free(data->ssl_handle); in data_accept()
1761 SSL_shutdown(data->ssl_handle); in data_close()
1762 SSL_free(data->ssl_handle); in data_close()
1772 SSL_shutdown(data->ssl_handle); in data_close()
1773 SSL_free(data->ssl_handle); in data_close()