summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-16Tests for message rate-limitingNick Mathewson
Also note a bug in the rate-limiting message.
2016-06-16I believe I found some dead code in our time parsing functionsNick Mathewson
2016-06-16tests for size_mul_check__()Nick Mathewson
it's important, and we should make sure we got it right.
2016-06-16Correct the rounding behavior on tv_mdiff.Nick Mathewson
Fix for bug 19428.
2016-06-16Improve coverage on tv_udiff, and tv_mdiff.Nick Mathewson
I found some bugs in tv_mdiff; separate commit for that
2016-06-16Improve coverage on esc_for_log, esc_for_log_lenNick Mathewson
2016-06-16add LCOV_EXCL for unreachable exit() blocks in src/commonNick Mathewson
2016-06-16Reach 100% line coverage on memarea.cNick Mathewson
2016-06-15Mark src/common tor_assert(0)/tor_fragile_assert() unreached for coverageNick Mathewson
I audited this to make sure I was only marking ones that really should be unreachable.
2016-06-15forward-port changelogNick Mathewson
2016-06-15Merge branch 'maint-0.2.8'Nick Mathewson
'ours' merge to avoid bumping version.
2016-06-15ondrej is no longer making rpmsNick Mathewson
2016-06-15Bump to 0.2.8.4-rc-devNick Mathewson
2016-06-15Perform cache lookup when FetchHidServDescriptors is setDavid Goulet
The FetchHidServDescriptors check was placed before the descriptor cache lookup which made the option not working because it was never using the cache in the first place. Fixes #18704 Patched-by: twim Signef-off-by: David Goulet <dgoulet@torproject.org>
2016-06-14Merge branch 'maint-0.2.8'Nick Mathewson
This is an "ours" merge to avoid taking a version bump.
2016-06-14bump version to 0.2.8.4-rcNick Mathewson
2016-06-14whoops; blank lineNick Mathewson
2016-06-14Use ENABLE/DISABLE_GCC_WARNING in masater.Nick Mathewson
2016-06-14Merge branch 'maint-0.2.8'Nick Mathewson
2016-06-14Resolve the remaining openssl "-Wredundant-decls" warnings.Nick Mathewson
Another part of 19406
2016-06-14Remove some duplicated warnings from the big listNick Mathewson
2016-06-14Disable -Wc99-c11-compatNick Mathewson
It triggers on the openssl headers, and doesn't seem to actually help us.
2016-06-14use new-form macros to disable -Wredundant-declsNick Mathewson
2016-06-14Merge branch 'maint-0.2.8'Nick Mathewson
2016-06-14Suppress the Wredundant-decls warning in another set of openssl headersNick Mathewson
2016-06-14Bug 19406: Add a changes file.Yawning Angel
2016-06-14Bug 19406: Fix the unit tests to work with OpenSSL 1.1.xYawning Angel
Just as it says on the tin. Don't need to fully disable any tests and reduce coverage either. Yay me.
2016-06-14Bug 19406: OpenSSL removed SSL_R_RECORD_TOO_LARGE in 1.1.0.Yawning Angel
This is a logging onlu change, we were suppressing the severity down to INFO when it occured (treating it as "Mostly harmless"). Now it is no more.
2016-06-14Bug 19406: OpenSSL made RSA and DH opaque in 1.1.0.Yawning Angel
There's accessors to get at things, but it ends up being rather cumbersome. The only place where behavior should change is that the code will fail instead of attempting to generate a new DH key if our internal sanity check fails. Like the previous commit, this probably breaks snapshots prior to pre5.
2016-06-14Bug 19406: OpenSSL changed the Thread API in 1.1.0 again.Yawning Angel
Instead of `ERR_remove_thread_state()` having a modified prototype, it now has the old prototype and a deprecation annotation. Since it's pointless to add extra complexity just to remain compatible with an old OpenSSL development snapshot, update the code to work with 1.1.0pre5 and later.
2016-06-13Merge branch 'maint-0.2.8'Nick Mathewson
2016-06-13lintChanges fixesNick Mathewson
2016-06-13Coverity dislikes (double) (int/int).Nick Mathewson
When you divide an int by an int and get a fraction and _then_ cast to double, coverity assumes that you meant to cast to a double first. In my fix for -Wfloat-conversion in 493499a3399f8a8532b4b2a80006, I did something like this that coverity didn't like. Instead, I'm taking another approach here. Fixes CID 1232089, I hope.
2016-06-13Merge branch 'maint-0.2.8'Nick Mathewson
2016-06-13Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-06-13Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson
2016-06-13Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson
2016-06-13Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson
2016-06-12Keep make check-spaces happyAndrea Shepard
2016-06-12typo/comment/log fixes i found in my sandbox from montrealRoger Dingledine
2016-06-12Update geoip and geoip6 to the June 7 2016 database.Karsten Loesing
2016-06-11Remove -Wc11-extensionsNick Mathewson
FreeBSD uses _Generic() in its system headers, and is within its rights to do so.
2016-06-11Fix build on 32-bit systems.Nick Mathewson
2016-06-11Whoops -- this got lost in the merge.Nick Mathewson
2016-06-11Merge branch 'maint-0.2.8'Nick Mathewson
2016-06-11Merge remote-tracking branch 'public/bug19203_027' into maint-0.2.8Nick Mathewson
2016-06-11Merge branch 'bug19180_easy_squashed'Nick Mathewson
2016-06-11Add clang's -Wstring-conversion, and fix the one place it hitsNick Mathewson
2016-06-11Add -Wmissing-variable-declarations, with attendant fixesNick Mathewson
This is a big-ish patch, but it's very straightforward. Under this clang warning, we're not actually allowed to have a global variable without a previous extern declaration for it. The cases where we violated this rule fall into three roughly equal groups: * Stuff that should have been static. * Stuff that was global but where the extern was local to some other C file. * Stuff that was only global when built for the unit tests, that needed a conditional extern in the headers. The first two were IMO genuine problems; the last is a wart of how we build tests.
2016-06-11Add the -Wextra-semi warning from clang, and fix the cases where it triggersNick Mathewson