Lines Matching refs:ssl_handle
184 SSL_shutdown(ftp->ssl_handle); in ftp_close()
284 ftp->ssl_handle = SSL_new(ctx); in ftp_login()
285 if (ftp->ssl_handle == NULL) { in ftp_login()
291 SSL_set_fd(ftp->ssl_handle, ftp->fd); in ftp_login()
293 if (SSL_connect(ftp->ssl_handle) <= 0) { in ftp_login()
295 SSL_shutdown(ftp->ssl_handle); in ftp_login()
1251 sent = SSL_write(ftp->ssl_handle, buf, size); in my_send()
1253 sent = SSL_write(ftp->data->ssl_handle, buf, size); in my_send()
1291 nr_bytes = SSL_read(ftp->ssl_handle, buf, len); in my_recv()
1293 nr_bytes = SSL_read(ftp->data->ssl_handle, buf, len); in my_recv()
1526 data->ssl_handle = SSL_new(ctx); in data_accept()
1527 if (data->ssl_handle == NULL) { in data_accept()
1534 SSL_set_fd(data->ssl_handle, data->fd); in data_accept()
1537 SSL_copy_session_id(data->ssl_handle, ftp->ssl_handle); in data_accept()
1540 if (SSL_connect(data->ssl_handle) <= 0) { in data_accept()
1542 SSL_shutdown(data->ssl_handle); in data_accept()
1566 SSL_shutdown(data->ssl_handle); in data_close()
1575 SSL_shutdown(data->ssl_handle); in data_close()