summaryrefslogtreecommitdiff
path: root/src/trunnel/ed25519_cert.trunnel
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@ev0ke.net>2016-03-10 17:52:36 -0500
committerDavid Goulet <dgoulet@torproject.org>2016-11-04 10:29:27 -0400
commit15f3563f1b9af67897fa050122cde22b5bd293de (patch)
tree9c2c583755ece97c2900aea46cfded11625f1950 /src/trunnel/ed25519_cert.trunnel
parente8c12175fe61e4666d093b1ac85cf9bbae281f48 (diff)
downloadtor-15f3563f1b9af67897fa050122cde22b5bd293de.tar.gz
tor-15f3563f1b9af67897fa050122cde22b5bd293de.zip
trunnel: Uncomment link_specifier so we can use it
Also add a trunnel definition for link_specifier_list Signed-off-by: John Brooks <special@torproject.org> Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net>
Diffstat (limited to 'src/trunnel/ed25519_cert.trunnel')
-rw-r--r--src/trunnel/ed25519_cert.trunnel7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/trunnel/ed25519_cert.trunnel b/src/trunnel/ed25519_cert.trunnel
index c46f1b6c6b..012b2afc30 100644
--- a/src/trunnel/ed25519_cert.trunnel
+++ b/src/trunnel/ed25519_cert.trunnel
@@ -55,6 +55,7 @@ struct auth02_cell {
u8 rand[24];
u8 sig[64];
}
+*/
const LS_IPV4 = 0x00;
const LS_IPV6 = 0x01;
@@ -73,4 +74,8 @@ struct link_specifier {
default: u8 unrecognized[];
};
}
-*/ \ No newline at end of file
+
+struct link_specifier_list {
+ u8 n_spec;
+ struct link_specifier spec[n_spec];
+}