| Commit message (Expand) | Author | Age |
... | |
* | New unit test, testing for b0red's exit policy | Sebastian Hahn | 2010-02-04 |
* | Another new test for exit_policy_is_general_exit() | Sebastian Hahn | 2010-02-03 |
* | New testcase for exit_policy_is_general_exit | Sebastian Hahn | 2010-02-03 |
* | Rearrange _thread_test_func to please Coverity Scan•••I believe that since we were allocating *cp while holding a mutex,
coverity deduced that *cp must be protected by that mutex, and later
flipped out when we didn't use it that way. If this is so, we can
solve our problems by moving the *cp = tor_strdup(buf) part outside of
the mutex-protected code.
| Nick Mathewson | 2010-01-25 |
* | Merge commit 'origin/maint-0.2.1'•••Resolved conflicts in:
configure.in
src/or/Makefile.am
src/tools/Makefile.am
| Nick Mathewson | 2010-01-24 |
* | Merge branch 'ewma' | Nick Mathewson | 2009-12-18 |
|\ |
|
| * | Enhance pqueue so we can remove items from the middle.•••This changes the pqueue API by requiring an additional int in every
structure that we store in a pqueue to hold the index of that structure
within the heap.
| Nick Mathewson | 2009-12-12 |
* | | Remove duplicate words and a duplicate newline. | Karsten Loesing | 2009-12-18 |
* | | Refactor out the 'find string at start of any line' logic.•••We do this in too many places throughout the code; it's time to start
clamping down.
Also, refactor Karsten's patch to use strchr-then-strndup, rather than
malloc-then-strlcpy-then-strchr-then-clear.
| Nick Mathewson | 2009-12-17 |
|/ |
|
* | Fix building from a separate build directory. | Nick Mathewson | 2009-11-08 |
* | Fix bug 1113.•••Bridges do not use the default exit policy, but reject *:* by default.
| Karsten Loesing | 2009-10-27 |
* | Fix the very noisy unit test memory leak of CID 420-421.•••On any failing case in test_util_config_line, we would leak a couple
of strings.
| Nick Mathewson | 2009-10-26 |
* | Fix a very stupid coverity complaint (CID 416).•••In its zeal to keep me from saying memset(x, '0', sizeof(x)), Coverity
disallows memset(x, 48, sizeof(x)). Fine. I'll choose a different
magic number, see if I care!
| Nick Mathewson | 2009-10-26 |
* | Fix CID 409: check return value of base64_encode in tests | Nick Mathewson | 2009-10-26 |
* | Reduce log level for someone else sending us weak DH keys.•••See task 1114. The most plausible explanation for someone sending us weak
DH keys is that they experiment with their Tor code or implement a new Tor
client. Usually, we don't care about such events, especially not on warn
level. If we really care about someone not following the Tor protocol, we
can set ProtocolWarnings to 1.
| Karsten Loesing | 2009-10-25 |
* | Add functions to serve microdescs and flavored consensuses. | Nick Mathewson | 2009-10-18 |
* | Parse detached signatures and microdesc networkstatuses correctly. | Nick Mathewson | 2009-10-15 |
* | Implement signatures for microdesc consensuses right.•••This means we need to handle the existence of multiple flavors of signature
in a detached signatures document, generate them correctly, and so on.
| Nick Mathewson | 2009-10-15 |
* | Refactor consensus signature storage for multiple digests and flavors.•••This patch introduces a new type called document_signature_t to represent the
signature of a consensus document. Now, each consensus document can have up
to one document signature per voter per digest algorithm. Also, each
detached-signatures document can have up to one signature per <voter,
algorithm, flavor>.
| Nick Mathewson | 2009-10-15 |
* | Code to generate, store, and parse microdescriptors and consensuses.•••The consensus documents are not signed properly, not served, and not
exchanged yet.
| Nick Mathewson | 2009-10-15 |
* | Support for encoding and decoding 256-bit digests in base64 | Nick Mathewson | 2009-10-15 |
* | Ship test.h in release•••The test suite need the test.h file to build. Add it to
noinst_HEADERS in the Makefile.am so it gets included
in the tarball that make dist produces.
| Peter Palfrader | 2009-10-11 |
* | Fix testsuite call.•••tinytest_main() returns 0 on success, -1 on errors and 1 on test
failures. So test.c should check on !=0 instead of <0.
| Peter Palfrader | 2009-10-10 |
* | Improved fix for test_memeq_hex leak.•••The earlier fix would only handle the success case. In the failing
case, test_mem_op does a goto done, which would leave the leak leaking.
| Nick Mathewson | 2009-09-27 |
* | Fix a memleak•••Found by coverity
test_mem_op_hex was leaking memory, which showed up in a few
tests.
Also, the dir_param test had a memleak of its own.
Found by Coverity
| Sebastian Hahn | 2009-09-27 |
* | Make a NULL check in test_dir.c non-redundant.•••Should quiet a coverity warning.
| Nick Mathewson | 2009-09-27 |
* | Do not distribute tinytest_demo.c in the tarball | Nick Mathewson | 2009-09-23 |
* | Carve out unrelated parts of test_dir_formats | Nick Mathewson | 2009-09-23 |
* | Split directory tests into their own module.•••(Also, clean up some whitespace.)
| Nick Mathewson | 2009-09-23 |
* | Split test_util() into smaller functions. | Nick Mathewson | 2009-09-23 |
* | Split general util and address tests into their own files. | Nick Mathewson | 2009-09-23 |
* | Split container tests into their own module | Nick Mathewson | 2009-09-23 |
* | Split crypto tests into a separate module. | Nick Mathewson | 2009-09-23 |
* | Remove a warning on ./autogen.sh | Sebastian Hahn | 2009-09-23 |
* | Move testing code into new src/test directory. | Nick Mathewson | 2009-09-23 |