Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-27 | Merge branch 'bug22895_027' | Nick Mathewson | |
2017-07-27 | Remove unused variables in donna's SSE2 code | cypherpunks | |
Fixes unused-const-variable warnings with GCC on 32-bit x86 systems. Closes #22895. | |||
2017-07-27 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
2017-07-27 | Merge branch 'maint-0.3.0' into maint-0.3.1 | Nick Mathewson | |
2017-07-27 | Merge branch 'maint-0.2.9' into maint-0.3.0 | Nick Mathewson | |
2017-07-27 | Merge remote-tracking branch 'public/bug20247_029' into maint-0.2.9 | Nick Mathewson | |
2017-07-26 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
2017-07-26 | Merge branch 'maint-0.3.0' into maint-0.3.1 | Nick Mathewson | |
2017-07-26 | Merge branch 'maint-0.2.9' into maint-0.3.0 | Nick Mathewson | |
2017-07-26 | Fix build warnings from Coverity related to our BUG macro | Nick Mathewson | |
In the Linux kernel, the BUG() macro causes an instant panic. Our BUG() macro is different, however: it generates a nonfatal assertion failure, and is usable as an expression. Additionally, this patch tells util_bug.h to make all assertion failures into fatal conditions when we're building with a static analysis tool, so that the analysis tool can look for instances where they're reachable. Fixes bug 23030. | |||
2017-07-26 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
2017-07-26 | Merge branch 'bug22927_031' into maint-0.3.1 | Nick Mathewson | |
2017-07-26 | Merge branch 'maint-0.2.9' into maint-0.3.0 | Nick Mathewson | |
2017-07-26 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
2017-07-26 | Merge branch 'maint-0.3.0' into maint-0.3.1 | Nick Mathewson | |
2017-07-26 | Merge branch 'bug22915_029_2' into maint-0.2.9 | Nick Mathewson | |
2017-07-26 | Suppress clang4-specific -Wdouble-promotion warnings | Nick Mathewson | |
Wow, it sure seems like some compilers can't implement isnan() and friends in a way that pleases themselves! Fixes bug 22915. Bug trigged by 0.2.8.1-alpha and later; caused by clang 4. | |||
2017-07-25 | This caused my attempt to fix hs_config/valid_service_v2 to fail | Nick Mathewson | |
_again_. Third time's the charm? | |||
2017-07-25 | fix wordo in comment | Roger Dingledine | |
2017-07-24 | Fix remaining cases of hs_config failures without af_unix | Nick Mathewson | |
2017-07-24 | Fix hs_config unit test on systems without unix sockets | Nick Mathewson | |
Bugfix on 418059dd96f5f427eceffff1daeb2a2f6c4adbeb; jenkins found this. | |||
2017-07-24 | Rename the hybrid_encrypt/decrypt functions; label them as dangerous | Nick Mathewson | |
We need to keep these around for TAP and old-style hidden services, but they're obsolete, and we shouldn't encourage anyone to use them. So I've added "obsolete" to their names, and a comment explaining what the problem is. Closes ticket 23026. | |||
2017-07-24 | Improve comment about why we disable TLS compression. | Nick Mathewson | |
Closes bug 22964. Based on Teor's replacement there, but tries to put the comment in a more logical place, and explain why we're actually disabling compression in the first place. | |||
2017-07-24 | test: Remove buggy unit test in test_hs_service | David Goulet | |
There isn't much of a point of this buggy test afterall to add twice the same service object but with a different key which ultinately can end up failing the test because 1/N_BUCKETS of probability that we end up to put the service in the same bucket. Fixes #23023 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-07-23 | fix whitespace issue | Roger Dingledine | |
2017-07-14 | Fix zstd 1.3.0 trouble: Be more respectful of its state machine | Nick Mathewson | |
In zstd 1.3.0, once you have called ZSTD_endStream and been told that your putput buffer is full, it really doesn't want you to call ZSTD_compressStream again. ZSTD 1.2.0 didn't seem to mind about this. This patch fixes the issue by making sure never to call ZSTD_endStream if there's any more data on the input buffer to process, by flushing even when we're about to call "endStream", and by never calling "compress" or "flush" after "endStream". | |||
2017-07-14 | Merge branch 'bug17750_029_squashed' | Nick Mathewson | |
2017-07-14 | Fix a signed integer overflow in dir/download_status_random_backoff | Nick Mathewson | |
Fix for 22924. Bugfix on 0.2.9.1-alpha when the test was introducd -- though it couldn't actually overflow until we fixed 17750. Additionally, this only seems to overflow on 32-bit, and only when the compiler doesn't re-order the (possibly dead) assignment out of the way. We ran into it on a 32-bit ubuntu trusty builder. | |||
2017-07-14 | Fix 32-bit warnings in hs_common.c | Nick Mathewson | |
2017-07-14 | Merge branch 'maint-0.2.9' into maint-0.3.0 | Nick Mathewson | |
2017-07-14 | Merge branch 'maint-0.3.0' into maint-0.3.1 | Nick Mathewson | |
2017-07-14 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
2017-07-14 | Merge branch 'bug22916_027' into maint-0.2.9 | Nick Mathewson | |
2017-07-14 | Merge branch 'maint-0.3.0' into maint-0.3.1 | Nick Mathewson | |
2017-07-14 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
2017-07-14 | Merge branch 'bug22803_030' into maint-0.3.0 | Nick Mathewson | |
2017-07-13 | Fix compiler warnings with openssl-scrypt/libscrypt test on clang | Nick Mathewson | |
Clang didn't like that we were passing uint64_t values to an API that wanted uint32_t. GCC has either not cared, or has figured out that the values in question were safe to cast to uint32_t. Fixes bug22916; bugfix on 0.2.7.2-alpha. | |||
2017-07-13 | Merge remote-tracking branch 'dgoulet/ticket21979_032_04' | Nick Mathewson | |
2017-07-13 | prop224: Fix clang warnings | David Goulet | |
Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-07-13 | Merge remote-tracking branch 'isis/bug19476' | Nick Mathewson | |
2017-07-13 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
2017-07-13 | Merge branch 'fewer-diffs' into maint-0.3.1 | Nick Mathewson | |
2017-07-13 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
2017-07-13 | Merge branch 'bug22520_031' into maint-0.3.1 | Nick Mathewson | |
2017-07-13 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
2017-07-13 | Merge remote-tracking branch 'isis/bug22830_0.3.1' into maint-0.3.1 | Nick Mathewson | |
2017-07-13 | prop224: Move service version into config object | David Goulet | |
It makes more sense to have the version in the configuration object of the service because it is afterall a torrc option (HiddenServiceVersion). Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-07-13 | prop224: Use the service config object when configuring | David Goulet | |
Both configuration function now takes the service config object instead of the service itself. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-07-13 | prop224: Don't use char * for binary data | David Goulet | |
It turns out that some char * sneaked in our hs_common.c code. Replace those by uint8_t *. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-07-13 | prop224: Add a clear configuration function | David Goulet | |
The added function frees any allocated pointers in a service configuration object and reset all values to 0. Signed-off-by: David Goulet <dgoulet@torproject.org> |