aboutsummaryrefslogtreecommitdiff
path: root/src/trunnel/hs/cell_introduce1.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-12-08 16:56:24 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-08 16:59:25 -0500
commitbc68eedd79286420f8dcab5fa4ed83401299c89c (patch)
tree84e128effdd94fa9b1f44d1bee2617be91b278f7 /src/trunnel/hs/cell_introduce1.c
parente1f00c5f8620f46f97ac58b2a1787852891c8981 (diff)
downloadtor-bc68eedd79286420f8dcab5fa4ed83401299c89c.tar.gz
tor-bc68eedd79286420f8dcab5fa4ed83401299c89c.zip
Update to trunnel 1.5.1
Diffstat (limited to 'src/trunnel/hs/cell_introduce1.c')
-rw-r--r--src/trunnel/hs/cell_introduce1.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/trunnel/hs/cell_introduce1.c b/src/trunnel/hs/cell_introduce1.c
index 51f567655e..5922a086dc 100644
--- a/src/trunnel/hs/cell_introduce1.c
+++ b/src/trunnel/hs/cell_introduce1.c
@@ -1,4 +1,4 @@
-/* cell_introduce1.c -- generated by Trunnel v1.5.
+/* cell_introduce1.c -- generated by Trunnel v1.5.1.
* https://gitweb.torproject.org/trunnel.git
* You probably shouldn't edit this file.
*/
@@ -114,7 +114,7 @@ hs_cell_introduce1_getconstarray_legacy_key_id(const hs_cell_introduce1_t *inp)
return (const uint8_t *)hs_cell_introduce1_getarray_legacy_key_id((hs_cell_introduce1_t*)inp);
}
uint8_t
-hs_cell_introduce1_get_auth_key_type(hs_cell_introduce1_t *inp)
+hs_cell_introduce1_get_auth_key_type(const hs_cell_introduce1_t *inp)
{
return inp->auth_key_type;
}
@@ -129,7 +129,7 @@ hs_cell_introduce1_set_auth_key_type(hs_cell_introduce1_t *inp, uint8_t val)
return 0;
}
uint16_t
-hs_cell_introduce1_get_auth_key_len(hs_cell_introduce1_t *inp)
+hs_cell_introduce1_get_auth_key_len(const hs_cell_introduce1_t *inp)
{
return inp->auth_key_len;
}
@@ -543,7 +543,7 @@ hs_cell_introduce_ack_free(hs_cell_introduce_ack_t *obj)
}
uint16_t
-hs_cell_introduce_ack_get_status(hs_cell_introduce_ack_t *inp)
+hs_cell_introduce_ack_get_status(const hs_cell_introduce_ack_t *inp)
{
return inp->status;
}
@@ -830,7 +830,7 @@ hs_cell_introduce_encrypted_set0_extensions(hs_cell_introduce_encrypted_t *inp,
return 0;
}
uint8_t
-hs_cell_introduce_encrypted_get_onion_key_type(hs_cell_introduce_encrypted_t *inp)
+hs_cell_introduce_encrypted_get_onion_key_type(const hs_cell_introduce_encrypted_t *inp)
{
return inp->onion_key_type;
}
@@ -845,7 +845,7 @@ hs_cell_introduce_encrypted_set_onion_key_type(hs_cell_introduce_encrypted_t *in
return 0;
}
uint16_t
-hs_cell_introduce_encrypted_get_onion_key_len(hs_cell_introduce_encrypted_t *inp)
+hs_cell_introduce_encrypted_get_onion_key_len(const hs_cell_introduce_encrypted_t *inp)
{
return inp->onion_key_len;
}
@@ -923,7 +923,7 @@ hs_cell_introduce_encrypted_setlen_onion_key(hs_cell_introduce_encrypted_t *inp,
return -1;
}
uint8_t
-hs_cell_introduce_encrypted_get_nspec(hs_cell_introduce_encrypted_t *inp)
+hs_cell_introduce_encrypted_get_nspec(const hs_cell_introduce_encrypted_t *inp)
{
return inp->nspec;
}