diff options
author | Colin Watson <cjwatson@debian.org> | 2020-06-07 10:19:23 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-06-07 10:19:23 +0100 |
commit | 202f5a676221c244cd450086c334c2b59f339e86 (patch) | |
tree | d2f90a3a9ce2b33485c271eab01a48f02ef6fb5a /sshbuf.h | |
parent | f0de78bd4f29fa688c5df116f3f9cd43543a76d0 (diff) | |
parent | 9ca7e9c861775dd6c6312bc8aaab687403d24676 (diff) |
Import openssh_8.3p1.orig.tar.gz
Diffstat (limited to 'sshbuf.h')
-rw-r--r-- | sshbuf.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | */ |
145 | int sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp); | 145 | int 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 | */ |
193 | int sshbuf_poke_u64(struct sshbuf *buf, size_t offset, u_int64_t val); | 193 | int sshbuf_poke_u64(struct sshbuf *buf, size_t offset, u_int64_t val); |