aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-22Merge branch 'maint-0.2.9' into maint-0.3.2Nick Mathewson
2018-08-22Mark cert_matches_key as not-intrusive; fix stretch compilation.Nick Mathewson
2018-08-21Merge branch 'maint-0.2.9' into maint-0.3.2Nick Mathewson
2018-08-21Merge remote-tracking branch 'teor/travis-osx-032' into maint-0.3.2Nick Mathewson
2018-08-21Merge remote-tracking branch 'teor/travis-osx-029' into maint-0.2.9Nick Mathewson
2018-08-21Merge branch 'maint-0.2.9' into maint-0.3.2Nick Mathewson
2018-08-20Rewrite test_tortls_cert_matches_key()Nick Mathewson
Unlike the old test, this test no will no longer mess around with the forbidden internals of any openssl data structures. Additionally, it verifies several other behaviors of tor_tls_cert_matches_key() that we had wanted to verify, such as the possibility of the certificate's key not matching. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
2018-08-20Use our x509 wrapper code in tor_tls_cert_matches_key()Nick Mathewson
This allows us to mock our own tor_tls_get_peer_certificate() function in order to test ..cert_matches_key(), which will in turn allow us to simplify test_tortls_cert_matches_key() considerably. Prep work for the fix for 27226.
2018-08-16Keep descriptor rotation time after HUP occurs.George Kadianakis
2018-08-16Rust: Say that we support rust stable in GettingStartedRust.mdteor
In 24765, we said that we supported rust stable in CodingStandardsRust.md. But we left GettingStartedRust.md saying that we support rust nightly. Closes 27160.
2018-08-15Merge branch 'maint-0.2.9' into maint-0.3.2Nick Mathewson
2018-08-15Merge remote-tracking branch 'github/bug27081_029' into maint-0.2.9Nick Mathewson
2018-08-10Merge branch 'travis-osx-029' into travis-osx-032teor
Merge asciidoc from 029 with rust from 032.
2018-08-10Travis: add a missing macOS asciidoc env varteor
2018-08-10Merge branch 'travis-osx-029' into travis-osx-032teor
Simple merge to resolve order conflicts.
2018-08-10Travis: Improve Rust commentsteor
2018-08-10Travis: add a missing macOS asciidoc dependencyteor
2018-08-10Travis: put distcheck first for readabilityteor
2018-08-10Changes file for Travis: enable macOS buildsteor
2018-08-10Changes file for Rust: backport src/test/test_rust.sh from masterteor
2018-08-10Travis: Use cargo cacheteor
Closes ticket 26952.
2018-08-10Fix $abs_top_srcdir in test_rust.shteor
Consistently use ../../.. as a fallback for $abs_top_srcdir in test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
2018-08-10Stop setting $CARGO_HOMEteor
cargo will use the user's $CARGO_HOME, or $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
2018-08-10Rust: backport src/test/test_rust.sh from masterteor
Preparation for 26497.
2018-08-10Travis: fix a typoteor
2018-08-09Travis: fix a typoteor
2018-08-09Travis: add rust cargo offline modeteor
Backports parts of the 0.3.3 travis config. Part of 24629.
2018-08-09Travis: add rust cargo online modeteor
Forward-ports parts of the 0.3.2 travis config on top of the 0.2.9 merge. Also: * build rust on clang and gcc, Linux and macOS * build combinations of non-default options on gcc Linux * exclude broken builds * log the rustup version Part of 24629.
2018-08-09Merge branch 'maint-0.2.9' into maint-0.3.2Nick Mathewson
2018-08-09Travis: add lzma and zstd, where availableteor
Forward-ports parts of the 0.3.2 travis config on top of the 0.2.9 merge. Part of 24629, also fixes 27090.
2018-08-09Merge branch 'travis-osx-029' into travis-osx-032teor
Replace 032 .travis.yml with 029 .travis.yml. Subsequent commits will restore 032 functionality.
2018-08-09Travis: list installed package versions before buildingteor
Part of 24629.
2018-08-09Travis: run an asciidoc buildteor
Implements 27087.
2018-08-09Travis: Use ccacheteor
Part of ticket 26952.
2018-08-09Travis: make macOS builds work for Tor 0.2.9teor
Tor 0.2.9 needs extra help to find OpenSSL on macOS. Part of 24629.
2018-08-09Travis: create configure flags once, then echo the flagsteor
Creating the configure flags once avoids inconsistent flags between configure and distcheck configure. Echoing the flags helps developers work out what configure is doing. (Backported to 0.2.9 and later as a precaution.) Fixes 27088 on 0.3.4.1-alpha, adds logging in previous releases.
2018-08-09Travis: enable macOS buildsteor
Also: * explain why we don't install zlib Part of 24629.
2018-08-09Travis: Rewrite .travis.ymlteor
Build on all compilers: * default options + hardening Build on gcc: * coverage (+ no hardening) * distcheck * no hardening Add some extra logging: * tail config.log on failure (config.log is too long for travis to render) Put the config in a more logical order * Sort config items in chronological order * Put related items together Part of 24629.
2018-08-09Update geoip and geoip6 to the August 7 2018 database.Karsten Loesing
2018-08-09Add more optional packages to TravisTaylor Yu
Apparently we weren't building with either libcap or libseccomp on Travis. Install libcap-dev and libseccomp-dev in .travis.yml. Closes ticket 26560.
2018-08-08Don't search for -lpthread on WindowsNick Mathewson
If we're building for Windows, we want to use windows threads no matter what, and we don't want to link a pthread library even if it is present. Fixes bug 27081; bugfix on 1790dc67607799a in 0.1.0.1-rc.
2018-08-08Merge branch 'maint-0.2.9' into maint-0.3.2Nick Mathewson
2018-08-08Changes file for 25440Nick Mathewson
2018-08-08Fix crash when calling openat with sandbox enabled #25440Daniel Pinto
The seccomp rule for the openat syscall checks for the AT_FDCWD constant. Because this constant is usually a negative value, a cast to unsigned int is necessary to make sure it does not get converted to uint64_t used by seccomp. More info on: https://github.com/seccomp/libseccomp/issues/69#issuecomment-273805980
2018-08-03Merge branch 'maint-0.2.9' into maint-0.3.2Nick Mathewson
2018-08-03Merge branch 'fix_nonstandard_malloc_029' into maint-0.2.9Nick Mathewson
2018-07-30Merge remote-tracking branch 'teor/bug26924_032' into maint-0.3.2Nick Mathewson
2018-07-26Don't disable an unsupported compiler warningTaylor Yu
Conditionalize the pragma that temporarily disables -Wunused-const-variable. Some versions of gcc don't support it. We need to do this because of an apparent bug in some libzstd headers. Fixes bug 26785; bugfix on 0.3.2.11.
2018-07-25Improve connection auth loggingteor
Improve the log message when connection initiators fail to authenticate direct connections to relays. Fixes bug 26927; bugfix on 0.3.0.1-alpha.
2018-07-25Merge branch 'bug26924_029' into bug26924_032teor