Displaying 1 result from an estimated 1 matches for "92e17a5".
Did you mean:
4217a5
2018 Dec 03
3
[PATCH] removing an old API.
...r way. It 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_...