summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-05-23Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-23Do not ignore files that are being tracked by gitcypherpunks
2016-05-23Expose crypto_digest_algorithm_get_length from crypto.cNick Mathewson
Also, use it in routerparse.c
2016-05-23Merge remote-tracking branch 'dgoulet/bug19066_029_01'Nick Mathewson
2016-05-20Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-20Changes file for previous commitNick Mathewson
2016-05-20Prevent ASAN from registering a SIGSEGV handlercypherpunks
AddressSanitizer's (ASAN) SIGSEGV handler overrides the backtrace handler and prevents it from printing its backtrace. The output of ASAN is different from what 'bt_test.py' expects and causes backtrace test failures. The 'allow_user_segv_handler' option allows applications to set their own SIGSEGV handler but is not supported by older GCC versions. These older GCC versions do support the 'handle_segv' which prevents ASAN from setting its SIGSEGV handler.
2016-05-20Whoops. We use -Wmussing-prototypes.Nick Mathewson
2016-05-20Make another variable unsigned.Nick Mathewson
2016-05-20Fix a bug related to moving signing_key_certNick Mathewson
Now that the field exists in signed_descriptor_t, we need to make sure we free it when we free a signed_descriptor_t, and we need to make sure that we don't free it when we convert a routerinfo_t to a signed_descriptor_t. But not in any released Tor. I found this while working on #19128. One problem: I don't see how this could cause 19128.
2016-05-19Remove round_int64_to_next_multiple_of: It is now unused.Nick Mathewson
2016-05-19Compute HS stats outputs without round_int64_...Nick Mathewson
Fix for bug 19130.
2016-05-19Fix "conditional "ADD_MULODI4" was never defined".Nick Mathewson
2016-05-19Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-19Merge remote-tracking branch 'teor/fix18809-warnings' into maint-0.2.8Nick Mathewson
2016-05-19Merge branch 'link_ftrapv_clang32'Nick Mathewson
2016-05-19add missing atoi for cosmetic reasonsNick Mathewson
2016-05-19Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-19Merge remote-tracking branch 'public/bug19073' into maint-0.2.8Nick Mathewson
2016-05-19Fix unused-but-set-variable warnings in the connection unit teststeor (Tim Wilson-Brown)
No behaviour change - just remove the variables
2016-05-19Describe what happens when we get a consensus, but no certificatesteor (Tim Wilson-Brown)
Comment-only change
2016-05-19lintchanges on 18809, and fix the bug numberNick Mathewson
2016-05-19Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-19changelog typo fixNick Mathewson
2016-05-19Fix a compilation error in test_dir.cNick Mathewson
2016-05-19Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-19Merge branch 'bug18809_028_squashed' into maint-0.2.8Nick Mathewson
2016-05-19Add unit tests for networkstatus_consensus_is_bootstrappingteor (Tim Wilson-Brown)
2016-05-19Restore and improve download schedule unit teststeor (Tim Wilson-Brown)
2016-05-19Update unit tests for multiple bootstrap connectionsteor (Tim Wilson-Brown)
2016-05-19Remove consensus_max_download_tries by refactoringteor (Tim Wilson-Brown)
No behaviour change This function is used twice. The code is simpler if we split it up and inline it where it is used.
2016-05-19Changes file for bug 18809teor (Tim Wilson-Brown)
2016-05-19Stop downloading consensuses when a consensus has been downloadedteor (Tim Wilson-Brown)
Previosuly, during bootstrap, we would continue to download consensuses if we had a consensus, but didn't have the certificates to validate it.
2016-05-18Include __mulodi4 in libor_ctime when it fixes clang -m32 -ftrapvNick Mathewson
We use a pretty specific pair of autoconf tests here to make sure that we only add this code when: a) a 64-bit signed multiply fails to link, AND b) the same 64-bit signed multiply DOES link correctly when __mulodi4 is defined. Closes ticket 19079.
2016-05-18Add __mulodi4 source to src/extNick Mathewson
We need to define this function when compiling with clang -m32 -ftrapv, since otherwise we get link errors, since apparently some versions of libclang_rt.builtins don't define a version of it that works? Or clang doesn't know to look for it? This definition is taken from the LLVM source at https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/builtins/mulodi4.c I've also included the license (dual BSD-ish/MIT-ish).
2016-05-18Fix a bad sizeof() in test_crypto.c. Harmless. Spotted by coverity.Nick Mathewson
2016-05-17whitespace fixesNick Mathewson
2016-05-17Remove duplicate siging_key_cert fields.Nick Mathewson
With the fix for #17150, I added a duplicate certificate here. Here I remove the original location in 0.2.8. (I wouldn't want to do that in 027, due to the amount of authority-voting-related code drift.) Closes 19073.
2016-05-17Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-17Merge branch 'bug17150_027_extra' into maint-0.2.8Nick Mathewson
2016-05-17Improve API of routerinfo_incompatible_with_extrainfo()Nick Mathewson
This API change makes it so that routerinfo_incompatible...() no longer takes a routerinfo_t, so that it's obvious that it should only look at fields from the signed_descriptor_t. This change should prevent a recurrence of #17150.
2016-05-17Fix another, more subtle, case of bug 17150.Nick Mathewson
We need to make sure that the corresponding sd and ei match in their certificates.
2016-05-17Copy the signing_key_cert field into signed_descriptor_tNick Mathewson
We need this field to be in signed_descriptor_t so that routerinfo_incompatible_with_extrainfo can work correctly (#17150). But I don't want to move it completely in this patch, since a great deal of the code that messes with it has been in flux since 0.2.7, when this ticket was opened. I should open another ticket about removing the field from routerinfo_t and extrainfo_t later on. This patch fixes no actual behavior.
2016-05-17Fix documentation for routerinfo_incompatible_with_extrainfoNick Mathewson
2016-05-17When making sure digest256 matches in ei, look at sd, not ri.Nick Mathewson
The routerinfo we pass to routerinfo_incompatible_with_extrainfo is the latest routerinfo for the relay. The signed_descriptor_t, on the other hand, is the signed_descriptor_t that corresponds to the extrainfo. That means we should be checking the digest256 match with that signed_descriptor_t, not with the routerinfo. Fixes bug 17150 (and 19017); bugfix on 0.2.7.2-alpha.
2016-05-17Move extra_info_digest256 into signed_descriptor_tNick Mathewson
This patch includes no semantic changes; it's just a field movement. It's prerequisite for a fix to 19017/17150.
2016-05-17Merge remote-tracking branch 'teor/bug18963-remember-v2'Nick Mathewson
2016-05-17Remove from master all changes files scheduled for 0.2.8.3Nick Mathewson
These won't go in the 0.2.9.1-alpha changelog, since 0.2.8.3 will come out first. Generated automatically with findMergedChanges.pl
2016-05-17Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-17Merge branch 'bug18616-v4-merged_028' into maint-0.2.8Nick Mathewson