From 60c2cf22e8f64f35d8b1175e4671257313f2e4d3 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 15 Aug 2024 12:43:47 +1000 Subject: remove gratuitious difference from OpenBSD --- packet.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'packet.c') diff --git a/packet.c b/packet.c index d29b3ad31..e6ae2013b 100644 --- a/packet.c +++ b/packet.c @@ -2637,12 +2637,6 @@ sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v) return sshbuf_put_stringb(ssh->state->outgoing_packet, v); } -int -sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp) -{ - return sshbuf_froms(ssh->state->incoming_packet, valp); -} - #ifdef WITH_OPENSSL #ifdef OPENSSL_HAS_ECC int @@ -2715,6 +2709,12 @@ sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp) return sshbuf_get_cstring(ssh->state->incoming_packet, valp, lenp); } +int +sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp) +{ + return sshbuf_froms(ssh->state->incoming_packet, valp); +} + #ifdef WITH_OPENSSL #ifdef OPENSSL_HAS_ECC int -- cgit v1.2.3