summaryrefslogtreecommitdiff
path: root/opacket.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-01-28 21:15:47 +0000
committerDamien Miller <djm@mindrot.org>2015-01-29 09:08:07 +1100
commitfae7bbe544cba7a9e5e4ab47ff6faa3d978646eb (patch)
treea27a07031b600a1925a128bc0f5258a4b3ab2e8c /opacket.h
parent1a3d14f6b44a494037c7deab485abe6496bf2c60 (diff)
upstream commit
avoid fatal() calls in packet code makes ssh-keyscan more reliable against server failures ok dtucker@ markus@
Diffstat (limited to 'opacket.h')
-rw-r--r--opacket.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/opacket.h b/opacket.h
index 1e15626eb..261ed1f81 100644
--- a/opacket.h
+++ b/opacket.h
@@ -44,6 +44,7 @@ void packet_restore_state(void);
44void packet_set_connection(int, int); 44void packet_set_connection(int, int);
45int packet_read_seqnr(u_int32_t *); 45int packet_read_seqnr(u_int32_t *);
46int packet_read_poll_seqnr(u_int32_t *); 46int packet_read_poll_seqnr(u_int32_t *);
47void packet_process_incoming(const char *buf, u_int len);
47#define packet_set_timeout(timeout, count) \ 48#define packet_set_timeout(timeout, count) \
48 ssh_packet_set_timeout(active_state, (timeout), (count)) 49 ssh_packet_set_timeout(active_state, (timeout), (count))
49#define packet_connection_is_on_socket() \ 50#define packet_connection_is_on_socket() \
@@ -86,8 +87,6 @@ int packet_read_poll_seqnr(u_int32_t *);
86 ssh_packet_read(active_state) 87 ssh_packet_read(active_state)
87#define packet_read_expect(expected_type) \ 88#define packet_read_expect(expected_type) \
88 ssh_packet_read_expect(active_state, (expected_type)) 89 ssh_packet_read_expect(active_state, (expected_type))
89#define packet_process_incoming(buf, len) \
90 ssh_packet_process_incoming(active_state, (buf), (len))
91#define packet_get_int64() \ 90#define packet_get_int64() \
92 ssh_packet_get_int64(active_state) 91 ssh_packet_get_int64(active_state)
93#define packet_get_bignum(value) \ 92#define packet_get_bignum(value) \