summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-04-30 23:23:54 +0000
committerDamien Miller <djm@mindrot.org>2017-05-01 10:05:02 +1000
commit3d6d09f2e90f4ad650ebda6520bf2da446f37f14 (patch)
tree6a1243d4ff75b22262b98515e705ee1665d62f4d /packet.h
parent05164358577c82de18ed7373196bc7dbd8a3f79c (diff)
upstream commit
remove SSHv1 support from packet and buffer APIs ok markus@ Upstream-ID: bfc290053d40b806ecac46317d300677d80e1dc9
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/packet.h b/packet.h
index a1a1990b0..b169f4ea1 100644
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.h,v 1.77 2017/04/30 23:13:25 djm Exp $ */ 1/* $OpenBSD: packet.h,v 1.78 2017/04/30 23:23:54 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -118,7 +118,6 @@ int ssh_packet_send2(struct ssh *);
118int ssh_packet_read(struct ssh *); 118int ssh_packet_read(struct ssh *);
119int ssh_packet_read_expect(struct ssh *, u_int type); 119int ssh_packet_read_expect(struct ssh *, u_int type);
120int ssh_packet_read_poll(struct ssh *); 120int ssh_packet_read_poll(struct ssh *);
121int ssh_packet_read_poll1(struct ssh *, u_char *);
122int ssh_packet_read_poll2(struct ssh *, u_char *, u_int32_t *seqnr_p); 121int ssh_packet_read_poll2(struct ssh *, u_char *, u_int32_t *seqnr_p);
123int ssh_packet_process_incoming(struct ssh *, const char *buf, u_int len); 122int ssh_packet_process_incoming(struct ssh *, const char *buf, u_int len);
124int ssh_packet_read_seqnr(struct ssh *, u_char *, u_int32_t *seqnr_p); 123int ssh_packet_read_seqnr(struct ssh *, u_char *, u_int32_t *seqnr_p);
@@ -181,7 +180,6 @@ int sshpkt_put_string(struct ssh *ssh, const void *v, size_t len);
181int sshpkt_put_cstring(struct ssh *ssh, const void *v); 180int sshpkt_put_cstring(struct ssh *ssh, const void *v);
182int sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v); 181int sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v);
183int sshpkt_put_ec(struct ssh *ssh, const EC_POINT *v, const EC_GROUP *g); 182int sshpkt_put_ec(struct ssh *ssh, const EC_POINT *v, const EC_GROUP *g);
184int sshpkt_put_bignum1(struct ssh *ssh, const BIGNUM *v);
185int sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v); 183int sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v);
186 184
187int sshpkt_get(struct ssh *ssh, void *valp, size_t len); 185int sshpkt_get(struct ssh *ssh, void *valp, size_t len);
@@ -192,7 +190,6 @@ int sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp);
192int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp); 190int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp);
193int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp); 191int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp);
194int sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g); 192int sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g);
195int sshpkt_get_bignum1(struct ssh *ssh, BIGNUM *v);
196int sshpkt_get_bignum2(struct ssh *ssh, BIGNUM *v); 193int sshpkt_get_bignum2(struct ssh *ssh, BIGNUM *v);
197int sshpkt_get_end(struct ssh *ssh); 194int sshpkt_get_end(struct ssh *ssh);
198const u_char *sshpkt_ptr(struct ssh *, size_t *lenp); 195const u_char *sshpkt_ptr(struct ssh *, size_t *lenp);