summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index a162791b1..ec03301b9 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.c,v 1.281 2019/01/21 09:54:11 djm Exp $ */ 1/* $OpenBSD: packet.c,v 1.282 2019/01/21 10:35:09 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2483,6 +2483,12 @@ sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v)
2483 return sshbuf_put_stringb(ssh->state->outgoing_packet, v); 2483 return sshbuf_put_stringb(ssh->state->outgoing_packet, v);
2484} 2484}
2485 2485
2486int
2487sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp)
2488{
2489 return sshbuf_froms(ssh->state->incoming_packet, valp);
2490}
2491
2486#ifdef WITH_OPENSSL 2492#ifdef WITH_OPENSSL
2487#ifdef OPENSSL_HAS_ECC 2493#ifdef OPENSSL_HAS_ECC
2488int 2494int