aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-13Merge branch 'maint-0.3.5' into maint-0.4.2maint-0.4.2Nick Mathewson
2020-08-13Merge remote-tracking branch 'tor-gitlab/mr/125' into maint-0.3.5Nick Mathewson
2020-08-12Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-08-12Improve comments in .gitlab-ci.ymlNick Mathewson
2020-08-12CI: Turn on stem with 044 and later.Nick Mathewson
2020-08-12Fix allocation counting in clean_v2_descs_as_dir test.Nick Mathewson
Without this fix, running this test on its own would fail. Fixes bug 40099. Bugfix on ade5005853c17b3 in 0.2.8.1-alpha.
2020-08-12Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-08-12CI: improve output when skipping doxygenNick Mathewson
2020-08-12Try disabling "make all" when checking docs.Nick Mathewson
2020-08-12CI: Try to enable integration tests, hardening, and clang.Nick Mathewson
2020-08-12Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-08-12CI: Remove VS2015 AppVeyor build.George Kadianakis
2020-08-11Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-08-11CI: label our python versions.Nick Mathewson
2020-08-11CI: Only run doxygen on 0.4.3 and later.Nick Mathewson
2020-08-11CI: enable documentation testingNick Mathewson
2020-08-11Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-08-11Fix a pair of typos in ci-driver.sh.Nick Mathewson
2020-08-11Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-08-11Add a pair of warnings about only editing CI in 035Nick Mathewson
2020-08-10Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-08-10small code tweaks to try to work around debian stable complaintsNick Mathewson
2020-08-10Try to set up a minimal gitlab CI scriptNick Mathewson
This is based on @eighthave's templates, and the work we've been doing to present a uniform testing environment.
2020-08-10Add a shareable continuous-integration script.Nick Mathewson
Eventually this should be used by every one of our CI scripts.
2020-08-06Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-08-06Copy from master gitlab-ci.yml from master back to maint-0.3.5Nick Mathewson
2020-07-31Merge branch 'maint-0.3.5' into maint-0.4.2Alexander Færøy
2020-07-30Fix a bug in buf_move_all() when the input buffer is empty.Nick Mathewson
We found this in #40076, after we started using buf_move_all() in more places. Fixes bug #40076; bugfix on 0.3.3.1-alpha. As far as I know, the crash only affects master, but I think this warrants a backport, "just in case".
2020-07-30Add unit test for buf_move_all(), including a failing caseNick Mathewson
The failing case is #if'd out for now, but will be fixed in the next commit. Testing for a fix for #40076.
2020-07-29Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-07-28Use _lseeki64() on windows.Nick Mathewson
Fixes bug 31036; bugfix on 0.2.1.8-alpha when we moved the logging system to use posix fds.
2020-07-27Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-07-24fallbackdir: Remove all three Digitalcourage3 relaysDavid Goulet
They are about to be shutdown in September. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-23Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-07-23More info in the fallbackdir changes fileNick Mathewson
2020-07-23fallbackdir: Update list for 2020David Goulet
Closes #40061 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-09Bump to 0.4.2.8-devNick Mathewson
2020-07-09Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
`-s ours` to avoid version bump.
2020-07-09Bump to 0.3.5.11-devNick Mathewson
2020-07-09Update version to 0.4.2.8.Nick Mathewson
2020-07-09Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
`-s ours` to avoid version bump.
2020-07-09bump to 0.3.5.11Nick Mathewson
2020-07-09Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-07-09Merge branch 'trove_2020_001_035' into maint-0.3.5Nick Mathewson
2020-07-08Merge branch 'maint-0.3.5' into maint-0.4.2Alexander Færøy
2020-07-07Resolve a compiler warning from a 32-bit signed/unsigned comparisonNick Mathewson
This warning only affects platforms (like win32) with 32-bit time_t. Fixes bug 40028; bugfix on 0.3.2.8-rc.
2020-07-07Merge branch 'maint-0.3.5' into maint-0.4.2Alexander Færøy
2020-07-07CI: Fix Appveyor printf format errorDavid Goulet
For some reasons, Appveyor started to use the stdio printf format for 64 bit values (PRIu64, ...). Mingw doesn't like that so force it to use the Windows specific macros by setting D__USE_MINGW_ANSI_STDIO=0. Fixes #40026
2020-07-06Use ((x + 7) >> 3) instead of (x >> 3) when converting from bits to bytes.Alexander Færøy
This patch changes our bits-to-bytes conversion logic in the NSS implementation of `tor_tls_cert_matches_key()` from using (x >> 3) to ((x + 7) >> 3) since DER bit-strings are allowed to contain a number of bits that is not a multiple of 8. Additionally, we add a comment on why we cannot use the `DER_ConvertBitString()` macro from NSS, as we would potentially apply the bits-to-bytes conversion logic twice, which would lead to an insignificant amount of bytes being compared in `SECITEM_ItemsAreEqual()` and thus turn the logic into being a prefix match instead of a full match. The `DER_ConvertBitString()` macro is defined in NSS as: /* ** Macro to convert der decoded bit string into a decoded octet ** string. All it needs to do is fiddle with the length code. */ #define DER_ConvertBitString(item) \ { \ (item)->len = ((item)->len + 7) >> 3; \ } Thanks to Taylor Yu for spotting this problem. This patch is part of the fix for TROVE-2020-001. See: https://bugs.torproject.org/33119
2020-07-06Add constness to length variables in `tor_tls_cert_matches_key`.Alexander Færøy
We add constness to `peer_info_orig_len` and `cert_info_orig_len` in `tor_tls_cert_matches_key` to ensure that we don't accidentally alter the variables. This patch is part of the fix for TROVE-2020-001. See: https://bugs.torproject.org/33119