search for: bff4c36

Displaying 1 result from an estimated 1 matches for "bff4c36".

2018 Dec 03
3
[PATCH] removing an old API.
...t calls ssh_alloc_session_state_state directly then setting the active_state pointer with the result (ssh.c line 2113). When doing this in sshd.c too, which I think is pretty straightforward, the packet_set_connection() will become obsolete. diff --git a/opacket.c b/opacket.c index 92e17a5..bff4c36 100755 --- a/opacket.c +++ b/opacket.c @@ -202,14 +202,6 @@ ssh_packet_get_cstring(struct ssh *ssh, u_int *length_ptr) /* Old API, that had to be reimplemented */ -void -packet_set_connection(int fd_in, int fd_out) -{ - active_state = ssh_packet_set_connection(active_state, fd_in, fd_out); - i...