search for: ssh_packet_set_connection

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

2018 Dec 03
3
[PATCH] removing an old API.
While looking for leaks I came across two old packet APIs which are easy to remove. I'm sending patches for each separately. First, there is the packet_set_connection(int fd_in, int fd_out) function in opacket.c The function relies on a behavior in ssh_packet_set_connection() where, when it is passed a NULL pointer, it will implicitely allocate a struct ssh and return it after then set the fds in it. sshd.c appears to be the only place where the API is still used, so we can place that sequence there. sshd.c calls the old function only once during initialization (i...