diff options
Diffstat (limited to 'src/trunnel/link_handshake.h')
-rw-r--r-- | src/trunnel/link_handshake.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/trunnel/link_handshake.h b/src/trunnel/link_handshake.h index b4f5f19830..60bc28fa33 100644 --- a/src/trunnel/link_handshake.h +++ b/src/trunnel/link_handshake.h @@ -1,4 +1,4 @@ -/* link_handshake.h -- generated by by Trunnel v1.4.2. +/* link_handshake.h -- generated by by Trunnel v1.4.3. * https://gitweb.torproject.org/trunnel.git * You probably shouldn't edit this file. */ @@ -104,7 +104,7 @@ ssize_t auth_challenge_cell_encoded_len(const auth_challenge_cell_t *obj); * success, return the number of bytes used. On failure, return -2 if * the buffer was not long enough, and -1 if the input was invalid. */ -ssize_t auth_challenge_cell_encode(uint8_t *output, const size_t avail, const auth_challenge_cell_t *input); +ssize_t auth_challenge_cell_encode(uint8_t *output, size_t avail, const auth_challenge_cell_t *input); /** Check whether the internal state of the auth_challenge_cell in * 'obj' is consistent. Return NULL if it is, and a short message if * it is not. @@ -206,7 +206,7 @@ ssize_t certs_cell_cert_encoded_len(const certs_cell_cert_t *obj); * success, return the number of bytes used. On failure, return -2 if * the buffer was not long enough, and -1 if the input was invalid. */ -ssize_t certs_cell_cert_encode(uint8_t *output, const size_t avail, const certs_cell_cert_t *input); +ssize_t certs_cell_cert_encode(uint8_t *output, size_t avail, const certs_cell_cert_t *input); /** Check whether the internal state of the certs_cell_cert in 'obj' * is consistent. Return NULL if it is, and a short message if it is * not. @@ -285,7 +285,7 @@ ssize_t rsa_ed_crosscert_encoded_len(const rsa_ed_crosscert_t *obj); * success, return the number of bytes used. On failure, return -2 if * the buffer was not long enough, and -1 if the input was invalid. */ -ssize_t rsa_ed_crosscert_encode(uint8_t *output, const size_t avail, const rsa_ed_crosscert_t *input); +ssize_t rsa_ed_crosscert_encode(uint8_t *output, size_t avail, const rsa_ed_crosscert_t *input); /** Check whether the internal state of the rsa_ed_crosscert in 'obj' * is consistent. Return NULL if it is, and a short message if it is * not. @@ -382,7 +382,7 @@ ssize_t auth1_encoded_len(const auth1_t *obj, const auth_ctx_t *auth_ctx_ctx); * the number of bytes used. On failure, return -2 if the buffer was * not long enough, and -1 if the input was invalid. */ -ssize_t auth1_encode(uint8_t *output, const size_t avail, const auth1_t *input, const auth_ctx_t *auth_ctx_ctx); +ssize_t auth1_encode(uint8_t *output, size_t avail, const auth1_t *input, const auth_ctx_t *auth_ctx_ctx); /** Check whether the internal state of the auth1 in 'obj' is * consistent. Return NULL if it is, and a short message if it is not. */ @@ -602,7 +602,7 @@ ssize_t certs_cell_encoded_len(const certs_cell_t *obj); * success, return the number of bytes used. On failure, return -2 if * the buffer was not long enough, and -1 if the input was invalid. */ -ssize_t certs_cell_encode(uint8_t *output, const size_t avail, const certs_cell_t *input); +ssize_t certs_cell_encode(uint8_t *output, size_t avail, const certs_cell_t *input); /** Check whether the internal state of the certs_cell in 'obj' is * consistent. Return NULL if it is, and a short message if it is not. */ |