summaryrefslogtreecommitdiffstats
path: root/packet.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2024-08-15 04:43:47 +0200
committerDamien Miller <djm@mindrot.org>2024-08-15 04:43:47 +0200
commit60c2cf22e8f64f35d8b1175e4671257313f2e4d3 (patch)
tree9a1de6aa001cb8e1f3215c71a580eb90dc3d9ab2 /packet.c
parentupstream: adapt to EVP_PKEY conversion (diff)
downloadopenssh-60c2cf22e8f64f35d8b1175e4671257313f2e4d3.tar.xz
openssh-60c2cf22e8f64f35d8b1175e4671257313f2e4d3.zip
remove gratuitious difference from OpenBSD
Diffstat (limited to '')
-rw-r--r--packet.c12
1 files changed, 6 insertions, 6 deletions
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