summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 14:10:14 +1100
committerDamien Miller <djm@mindrot.org>2006-03-26 14:10:14 +1100
commit4f7becb44f26b61673b8478fd4aeee262adaf446 (patch)
tree29c6add44136bea0e0a4a1a60f21f884749aa444 /packet.c
parent1d2b6706ba1b2000bd807731e6d8e35691eaf8df (diff)
- deraadt@cvs.openbsd.org 2006/03/20 18:48:34
[channels.c fatal.c kex.c packet.c serverloop.c] spacing
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/packet.c b/packet.c
index 65fb31d2e..ee9369638 100644
--- a/packet.c
+++ b/packet.c
@@ -259,6 +259,7 @@ packet_get_keyiv_len(int mode)
return (cipher_get_keyiv_len(cc));
}
+
void
packet_set_iv(int mode, u_char *dat)
{
@@ -271,6 +272,7 @@ packet_set_iv(int mode, u_char *dat)
cipher_set_keyiv(cc, dat);
}
+
int
packet_get_ssh1_cipher(void)
{
@@ -472,31 +474,37 @@ packet_put_char(int value)
buffer_append(&outgoing_packet, &ch, 1);
}
+
void
packet_put_int(u_int value)
{
buffer_put_int(&outgoing_packet, value);
}
+
void
packet_put_string(const void *buf, u_int len)
{
buffer_put_string(&outgoing_packet, buf, len);
}
+
void
packet_put_cstring(const char *str)
{
buffer_put_cstring(&outgoing_packet, str);
}
+
void
packet_put_raw(const void *buf, u_int len)
{
buffer_append(&outgoing_packet, buf, len);
}
+
void
packet_put_bignum(BIGNUM * value)
{
buffer_put_bignum(&outgoing_packet, value);
}
+
void
packet_put_bignum2(BIGNUM * value)
{