summaryrefslogtreecommitdiff
path: root/sshbuf.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2020-06-07 10:19:23 +0100
committerColin Watson <cjwatson@debian.org>2020-06-07 10:19:23 +0100
commit202f5a676221c244cd450086c334c2b59f339e86 (patch)
treed2f90a3a9ce2b33485c271eab01a48f02ef6fb5a /sshbuf.h
parentf0de78bd4f29fa688c5df116f3f9cd43543a76d0 (diff)
parent9ca7e9c861775dd6c6312bc8aaab687403d24676 (diff)
Import openssh_8.3p1.orig.tar.gz
Diffstat (limited to 'sshbuf.h')
-rw-r--r--sshbuf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshbuf.h b/sshbuf.h
index 165cd0b18..94392c8be 100644
--- a/sshbuf.h
+++ b/sshbuf.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshbuf.h,v 1.19 2020/01/25 23:02:14 djm Exp $ */ 1/* $OpenBSD: sshbuf.h,v 1.21 2020/04/26 09:38:14 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2011 Damien Miller 3 * Copyright (c) 2011 Damien Miller
4 * 4 *
@@ -140,7 +140,7 @@ int sshbuf_allocate(struct sshbuf *buf, size_t len);
140/* 140/*
141 * Reserve len bytes in buf. 141 * Reserve len bytes in buf.
142 * Returns 0 on success and a pointer to the first reserved byte via the 142 * Returns 0 on success and a pointer to the first reserved byte via the
143 * optional dpp parameter or a negative * SSH_ERR_* error code on failure. 143 * optional dpp parameter or a negative SSH_ERR_* error code on failure.
144 */ 144 */
145int sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp); 145int sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp);
146 146
@@ -187,7 +187,7 @@ int sshbuf_peek_u8(const struct sshbuf *buf, size_t offset,
187 u_char *valp); 187 u_char *valp);
188 188
189/* 189/*
190 * Functions to poke values into an exisiting buffer (e.g. a length header 190 * Functions to poke values into an existing buffer (e.g. a length header
191 * to a packet). The destination bytes must already exist in the buffer. 191 * to a packet). The destination bytes must already exist in the buffer.
192 */ 192 */
193int sshbuf_poke_u64(struct sshbuf *buf, size_t offset, u_int64_t val); 193int sshbuf_poke_u64(struct sshbuf *buf, size_t offset, u_int64_t val);