Nick Mathewson
|
c12d2cb2dc
Request (and try to use) consensus diffs.
|
7 år sedan |
Nick Mathewson
|
c8baa9b783
bug#22143/prop#140: Use <n>,$d commands in diffs to remove signatures
|
7 år sedan |
Nick Mathewson
|
5acddbbbf7
bug#22143/prop#140: identify input diffs by their digest-as-signed
|
7 år sedan |
Nick Mathewson
|
9ba10d714a
Merge branch 'consdiff_numeric_squashed'
|
7 år sedan |
Sebastian Hahn
|
a16de7a7cf
consdiff: Reject ranges with non-numeric chars
|
7 år sedan |
Nick Mathewson
|
eeb266c139
Merge remote-tracking branches 'sebastian/consdiff_add' and 'sebastian/consdiff_newline'
|
7 år sedan |
Sebastian Hahn
|
5a7e39c0cb
Fix diff generation with line added at start
|
7 år sedan |
Sebastian Hahn
|
459643502b
Don't accept ranges for add commands in consdiff
|
7 år sedan |
Nick Mathewson
|
eca9b3424d
consdiff: Fix 32-bit compilation.
|
7 år sedan |
Nick Mathewson
|
643c9078c9
Switch ed-command parsing to use tor_parse_long.
|
7 år sedan |
Nick Mathewson
|
672e2a5461
Consdiff: extract router ID hash iteration functions
|
7 år sedan |
Nick Mathewson
|
83049cebc0
Make CONSENSUS_LINE_MAX_LEN a real define
|
7 år sedan |
Nick Mathewson
|
5e81436428
Remove a couple of {\n\n instances
|
7 år sedan |
Nick Mathewson
|
e84276124b
Use a better for X outside of base64_compare_table.
|
7 år sedan |
Nick Mathewson
|
91e3250bf1
Reindent a few labels.
|
7 år sedan |
Nick Mathewson
|
d8c129a11a
Avoid all needless memory copies when computing consensus diffs.
|
7 år sedan |
Nick Mathewson
|
52fa6bb947
Swap memory allocation strategy for lists of lines for diffs
|
7 år sedan |
Nick Mathewson
|
b36e311eab
Fill in the missing documentation on the new functions
|
7 år sedan |
Nick Mathewson
|
12d428aaff
Prop140: Fix a crash bug.
|
7 år sedan |
Nick Mathewson
|
653c6d129e
Make consensus diff sha3 operations mockable.
|
7 år sedan |
Nick Mathewson
|
6a36e5ff3b
String-based API for consensus diffs.
|
7 år sedan |
Nick Mathewson
|
eff9fbd17d
Fix an abstraction violation.
|
7 år sedan |
Nick Mathewson
|
69b3e11e59
Use "const" in consdiff.[ch]
|
7 år sedan |
Nick Mathewson
|
3647751c2a
prop140: Use sha3-256, not sha2-256
|
7 år sedan |
Nick Mathewson
|
e1418c09fc
Fix an unreachable memory leak.
|
7 år sedan |
Nick Mathewson
|
f193b666cd
Remove digest[12]_hex
|
7 år sedan |
Nick Mathewson
|
c6046f4db8
Tweak&test log messages on apply_diff
|
7 år sedan |
Nick Mathewson
|
5766eed38f
Fixes when applying diffs: Allow 2-line diffs, fix bogus free
|
7 år sedan |
Nick Mathewson
|
ab1fd85c99
Mark some warnings as bugs, and as (hopefully) unreachable.
|
7 år sedan |
Nick Mathewson
|
06017f35e8
Fix some logging on failed apply_ed_diff
|
7 år sedan |