summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-02-10Rename crypto_digest_all, and digests_t.Nick Mathewson
They are no longer "all" digests, but only the "common" digests. Part of 17795. This is an automated patch I made with a couple of perl one-liners: perl -i -pe 's/crypto_digest_all/crypto_common_digests/g;' src/*/*.[ch] perl -i -pe 's/\bdigests_t\b/common_digests_t/g;' src/*/*.[ch]
2016-01-27Restrict the meaning of digests_t to sha1+sha256.Nick Mathewson
This saves CPU and RAM when handling consensuses and x509 certs. Closes ticket 17795; bug not in any released tor.
2016-01-27attempt to fix crashes in unit testsNick Mathewson
2016-01-27Correct further grammatical errors in tor commentsNick Mathewson
Avoid using a pronoun where it makes comments unclear. Avoid using gender for things that don't have it. Avoid assigning gender to people unnecessarily.
2016-01-26Merge remote-tracking branch 'teor/bug18145'Nick Mathewson
2016-01-26Replace "Alice" with "the client" in a hidden service log messageteor (Tim Wilson-Brown)
2016-01-26Replace Alice/Bob with client/service in hidden service commentsteor (Tim Wilson-Brown)
2016-01-26Correct grammatical errors in tor log messagesteor (Tim Wilson-Brown)
Avoid using gender for things that don't have it.
2016-01-26Correct grammatical errors in tor commentsteor (Tim Wilson-Brown)
Avoid using gender for things that don't have it. Avoid assigning a gender to tor users.
2016-01-22Fix redundant-declaration warningNick Mathewson
2016-01-21Merge remote-tracking branch 'twstrike/parse_port_config_tests'Nick Mathewson
2016-01-19Merge remote-tracking branch 'twstrike/options_test'Nick Mathewson
2016-01-19Make sure that tests for domain sockets only run on OSes with domain socketsOla Bini
2016-01-19Use correct u64 int ops instead of regular int ops, in order to avoid ↵Ola Bini
warnings on 32bit clang
2016-01-19Merge branch 'maint-0.2.7'Nick Mathewson
2016-01-19Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson
2016-01-19Refine the memwipe() arguments check for 18089 a little more.Nick Mathewson
We still silently ignore memwipe(NULL, ch, 0); and memwipe(ptr, ch, 0); /* for ptr != NULL */ But we now assert on: memwipe(NULL, ch, 30);
2016-01-18Merge branch 'fallbacks-0281-squashed'Nick Mathewson
2016-01-18Add default fallback directories for the 0.2.8 alpha releasesteor (Tim Wilson-Brown)
Allow fallback directories which have been stable for 30 days to work around #18050, which causes relays to submit descriptors with 0 DirPorts when restarted. (Particularly during Tor version upgrades.) Ignore low fallback directory count in alpha builds.
2016-01-18Merge branch 'maint-0.2.7'Nick Mathewson
2016-01-18Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson
2016-01-18Make memwipe() do nothing when passed a NULL pointer or zero sizeteor (Tim Wilson-Brown)
Check size argument to memwipe() for underflow. Closes bug #18089. Reported by "gk", patch by "teor". Bugfix on 0.2.3.25 and 0.2.4.6-alpha (#7352), commit 49dd5ef3 on 7 Nov 2012.
2016-01-18Merge remote-tracking branch 'origin/maint-0.2.7'Nick Mathewson
2016-01-18Merge remote-tracking branch 'teor/bug18050' into maint-0.2.7Nick Mathewson
2016-01-18Check ORPort and DirPort reachability before publishing a relay descriptorteor (Tim Wilson-Brown)
Otherwise, relays publish a descriptor with DirPort 0 when the DirPort reachability test takes longer than the ORPort reachability test. Closes bug #18050. Reported by "starlight", patch by "teor". Bugfix on 0.1.0.1-rc, commit a1f1fa6ab on 27 Feb 2005.
2016-01-15Fix some leaks in the unit tests.Nick Mathewson
2016-01-15Make the new directory tests build and run again.Nick Mathewson
Had to disable a couple. Also add changes file for 17003.
2016-01-15Merge remote-tracking branch 'twstrike/directory-tests'Nick Mathewson
2016-01-15Whitespace cleanupNick Mathewson
2016-01-15Merge remote-tracking branch 'twstrike/options_test'Nick Mathewson
2016-01-13Update tests to match current changes to options_validateOla Bini
2016-01-13Move clearing of log messages on advice from @cypherpunks, in order to ↵Ola Bini
minimize risk of race conditions leading to another memory leak
2016-01-13Revert my addition of callback cleaner and instead use existing ↵Ola Bini
functionality for temporary log files
2016-01-13Remove a small memory leak in log callback setupOla Bini
2016-01-13Fix memory leaksOla Bini
2016-01-13Fix all white space issuesOla Bini
2016-01-13Fix some issues in gcc warningsOla Bini
2016-01-13Add tests for options_actOla Bini
2016-01-13Include square brackets and port number in calcs for max_dl_per_requestFergus Dall
2016-01-13Update the limits in max_dl_per_request for IPv6 address lengthFergus Dall
2016-01-12Fix remaining memory leaksOla Bini
2016-01-12Fix some memory leaksOla Bini
2016-01-12Make it compile with gcc-warnings turned onOla Bini
2016-01-12Add another safe_str_client to fix bug 17419Nick Mathewson
2016-01-12Stop log_heartbeat test from failing in timezones with non-integer offsetsFergus Dall
Instead of comparing the end of the time string against a constant, compare it to the output of format_local_iso_time when given the correct input.
2016-01-11Make the touch_file unit test work around FS/system time sync issuesNick Mathewson
Sometimes you can call time() and then touch a file, and have the second come out a little before the first. See #18025 for way more information than you necessarily wanted.
2016-01-11Try a little harder to only use SecureZeroMemory when it's presentNick Mathewson
We could be using AC_CHECK_FUNC_DECL too, but it shouldn't be needed.
2016-01-11Merge remote-tracking branch 'rl1987/feature17950'Nick Mathewson
2016-01-09Re-add the removed address family check.rl1987
2016-01-08Merge branch 'unixninja_ticket15989_squashed'Nick Mathewson