summaryrefslogtreecommitdiff
path: root/sshbuf.h
diff options
context:
space:
mode:
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);