aboutsummaryrefslogtreecommitdiff
path: root/src/test
Commit message (Expand)AuthorAge
* Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-22
|\
| * Fix minor comment issuesRobert Ransom2011-06-22
| * Fix comment typoRobert Ransom2011-06-22
* | Make the get_options() return const•••This lets us make a lot of other stuff const, allows the compiler to generate (slightly) better code, and will make me get slightly fewer patches from folks who stick mutable stuff into or_options_t. const: because not every input is an output! Nick Mathewson2011-06-14
* | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-14
|\|
| * Check some more return values in unit testsSebastian Hahn2011-06-08
* | Upgrade to the latest version of tinytestNick Mathewson2011-06-09
* | Prefer tt_assert in unit tests, not tor_assertNick Mathewson2011-06-08
* | Fix a minor coverity-found bug in testsSebastian Hahn2011-06-08
* | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-03
|\|
| * Reject 128-byte keys that are not 1024-bit•••When we added the check for key size, we required that the keys be 128 bytes. But RSA_size (which defers to BN_num_bytes) will return 128 for keys of length 1017..1024. This patch adds a new crypto_pk_num_bits() that returns the actual number of significant bits in the modulus, and uses that to enforce key sizes. Also, credit the original bug3318 in the changes file. Nick Mathewson2011-06-03
* | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-28
|\|
| * Fix GCC 4.6's new -Wunused-but-set-variable warnings.•••Most instances were dead code; for those, I removed the assignments. Some were pieces of info we don't currently plan to use, but which we might in the future. For those, I added an explicit cast-to-void to indicate that we know that the thing's unused. Finally, one was a case where we were testing the wrong variable in a unit test. That one I fixed. This resolves bug 3208. Nick Mathewson2011-05-23
* | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-15
|\|
| * Add a function to pull off the final component of a pathNick Mathewson2011-05-15
* | Fixup whitespace issues from 3122 commit in 0.2.3Nick Mathewson2011-05-15
* | Merge remote-tracking branch 'public/bug3122_memcmp_022' into bug3122_memcmp_023•••Conflicts in various places, mainly node-related. Resolved them in favor of HEAD, with copying of tor_mem* operations from bug3122_memcmp_022. src/common/Makefile.am src/or/circuitlist.c src/or/connection_edge.c src/or/directory.c src/or/microdesc.c src/or/networkstatus.c src/or/router.c src/or/routerlist.c src/test/test_util.c Nick Mathewson2011-05-11
|\|
| * fwd-port test_util_di_ops into tinytest formatNick Mathewson2011-05-11
* | Link to libevent_openssl statically when requested•••When configure tor with --enable-bufferevents and --enable-static-libevent, libevent_openssl would still be linked dynamically. Fix this and refactor src/or/Makefile.am along the way. Sebastian Hahn2011-05-06
* | Use read_all() to read messages from spawn_background•••Using read() is an invitation to get some of the data you want, not all. Possible fix for bug 2462 Nick Mathewson2011-05-04
* | Merge remote-tracking branch 'origin/maint-0.2.2'•••Conflicts: src/or/microdesc.c Nick Mathewson2011-05-03
|\|
* | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-04-19
|\|
| * Standardize our printf code on %d, not %i.Nick Mathewson2011-04-19
* | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-04-07
|\|
| * Use GetTempDir instead of hardcoded path to c:\windows\tmp for unittestsGisle Vanem2011-04-07
* | Merge remote-tracking branch 'origin/maint-0.2.2'•••Conflicts: src/common/crypto.c Nick Mathewson2011-03-16
|\|
| * Clean up whitespaceNick Mathewson2011-03-16
* | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-01-24
|\|
| * Make the DH parameter we use for TLS match the one from Apache's mod_ssl•••Our regular DH parameters that we use for circuit and rendezvous crypto are unchanged. This is yet another small step on the path of protocol fingerprinting resistance. Nick Mathewson2011-01-24
* | Merge branch 'maint-0.2.2'Roger Dingledine2011-01-15
|\|
| * Sanity-check consensus param values•••We need to make sure that the worst thing that a weird consensus param can do to us is to break our Tor (and only if the other Tors are reliably broken in the same way) so that the majority of directory authorities can't pull any attacks that are worse than the DoS that they can trigger by simply shutting down. One of these worse things was the cbtnummodes parameter, which could lead to heap corruption on some systems if the value was sufficiently large. This commit fixes this particular issue and also introduces sanity checking for all consensus parameters. Sebastian Hahn2011-01-15
* | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-01-15
|\|
| * Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2•••Conflicts: src/or/routerparse.c src/or/test.c Nick Mathewson2011-01-15
* | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-01-15
|\|
| * Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2•••Conflicts: src/or/config.c src/or/networkstatus.c src/or/rendcommon.c src/or/routerparse.c src/or/test.c Nick Mathewson2011-01-15
* | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-01-03
|\|
| * Merge remote branch 'sebastian/bug2314' into maint-0.2.2Nick Mathewson2011-01-03
| |\
| | * Fix compile wanrings revealed by gcc 4.5 on mingwSebastian Hahn2010-12-27
* | | Bump copyright statements to 2011 (master)Nick Mathewson2011-01-03
* | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-01-03
|\| |
| * | Bump copyright statements to 2011 (0.2.2)Nick Mathewson2011-01-03
| * | Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2011-01-03
| |/
* | Write bidirectional connection stats in single line.•••There's no need to have a separate line conn-stats-end for the end date and interval length with only a single line conn-bi-direct following. Karsten Loesing2010-12-03
* | Refactor conn stats and add unit tests.Karsten Loesing2010-12-03
* | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2010-11-29
|\|
| * Report only the top 10 ports in exit-port stats.Karsten Loesing2010-11-24
* | Merge remote branch 'origin/maint-0.2.2'•••Conflicts: src/or/router.c Nick Mathewson2010-11-19
|\|
| * Fix a unit test broken by fix for 2195Nick Mathewson2010-11-19
* | Split long lines in configure.in and Makefile.am files•••Having very long single lines with lots and lots of things in them tends to make files hard to diff and hard to merge. Since our tools are one-line-at-a-time, we should try to construct lists that way too, within reason. This incidentally turned up a few headers in configure.in that we were for some reason searching for twice. Nick Mathewson2010-11-11
* | Make check-spaces happySebastian Hahn2010-10-14