[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Disable validation check for shared-rand-current-value position
commit 0414563e1222eedda1c1e6e72bd079e2c00d5c9e
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Thu Dec 22 10:05:42 2016 -0800
Disable validation check for shared-rand-current-value position
Validation has done its job. Now that we know about it no need to keep alarming
on this...
https://trac.torproject.org/projects/tor/ticket/21059
---
stem/descriptor/networkstatus.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/stem/descriptor/networkstatus.py b/stem/descriptor/networkstatus.py
index 815e5f5..028594d 100644
--- a/stem/descriptor/networkstatus.py
+++ b/stem/descriptor/networkstatus.py
@@ -1104,7 +1104,13 @@ def _check_for_misordered_fields(entries, expected):
# document type or are unknown. Remove the unknown fields since they
# reflect a spec change and can appear anywhere in the document.
- actual = [field for field in entries.keys() if field in expected]
+ # TODO: Ignoring shared-rand-current-value for now because it was placed in
+ # the wrong location. It'll take a while before a fix is in a release but
+ # when it is we can resume checking it...
+ #
+ # https://trac.torproject.org/projects/tor/ticket/21059
+
+ actual = [field for field in entries.keys() if field in expected and field != 'shared-rand-current-value']
# Narrow the expected to just what we have. If the lists then match then the
# order's valid.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits