Nick Mathewson
|
d597b23c42
Massage a little code to hopfully please coverity.
|
15 years ago |
Nick Mathewson
|
33e2053ebc
Make return code from router_add_to_routerlist a nice sensible enum. Based on patch from Sebastian.
|
15 years ago |
Nick Mathewson
|
5fb2ab1e65
Implement the /tor/keys/fp-sk/ URL format. That mostly finishes the server side of 157.
|
15 years ago |
Nick Mathewson
|
69ce955484
Add cross-certification to authority key certificates. Partial implementation of proposal 157.
|
15 years ago |
Nick Mathewson
|
519de7970e
Do not discard sign on return values of iv crypto functions in tests. May fix CID 9. Might not.
|
15 years ago |
Nick Mathewson
|
b20694758e
Fix two more unit-test bugs (deadcode this time) spotted by Coverity run 7.
|
15 years ago |
Nick Mathewson
|
d9aa57253d
Fix error in last unit test mem-leak-fixing.
|
15 years ago |
Nick Mathewson
|
d7563ee231
Fix memory leaks in test_util_smartlist_* functions.
|
15 years ago |
Nick Mathewson
|
595e77c8d7
Fix memory leaks in test_v3_networkstatus.
|
15 years ago |
Nick Mathewson
|
6ffb4d4ab6
Fix memory leaks in test_dir_format
|
15 years ago |
Jacob Appelbaum
|
6b178b46ef
New DirPortFrontPage option that takes an html file and publishes it as "/" on the DirPort. Now relay operators can provide a disclaimer without needin to set up a separate webserver. There's a sample disclaimer in contrib/tor-exit-notice.html.
|
15 years ago |
Nick Mathewson
|
af03faa1a6
Fix more leaks in test_util_memarea().
|
15 years ago |
Nick Mathewson
|
475fbbbccc
Fix a resource leak in test_dir_formats()
|
15 years ago |
Nick Mathewson
|
1affbd3464
Split test_util_smartlist into manageable chunks; make them free memory properly.
|
15 years ago |
Nick Mathewson
|
30377823c3
Add a few more tests to our tests so that our tests make sense to coverity. CIDs 139, 138, 137.
|
15 years ago |
Nick Mathewson
|
e06442b648
Add a couple of sanity-checks for return values that coverity thinks we ought to have. CIDs 337, 335.
|
15 years ago |
Nick Mathewson
|
bd6b3072f9
Change logging code to use fds instead of stdio. Fixes bug 861, and probably makes logging slightly faster. Not a backport candidate: bug 861 is too obscure and harmless.
|
15 years ago |
Nick Mathewson
|
3ebd1ebeca
The chunk_size field in memarea_t was never actually set. Remove the whole thing.
|
15 years ago |
Nick Mathewson
|
3f858b5b26
Fix a compile error found under pcc. It wants single-quites to be escaped in strings, it seems.
|
15 years ago |
Nick Mathewson
|
73c6cb8353
Fix unit test failure related to intro point parsing.
|
15 years ago |
Nick Mathewson
|
283b95e463
Make tests pass again by adding an opt hidden-service-dir to the example routerinfo output.
|
15 years ago |
Nick Mathewson
|
b2c7090da6
Make it easier for dmalloc to see if keys are leaking; remove a test-only key leak.
|
15 years ago |
Nick Mathewson
|
a7e383af19
More test memory-management fixes
|
15 years ago |
Nick Mathewson
|
7f805aca2b
Split test_crypto() into manageable pieces.
|
15 years ago |
Nick Mathewson
|
b322348e8a
Fix more actual test leaks
|
15 years ago |
Nick Mathewson
|
aa69d586ea
Make buffer unit tests handle resource leaks properly.
|
15 years ago |
Nick Mathewson
|
38f56608d9
Make more unit tests handle resource leaks properly.
|
15 years ago |
Nick Mathewson
|
f95d7c189b
Refactor unit test macros and tor_free_all() logic a bit so as to make it easier to free memory on failing tests, in order to suppress scanner warnings and to make dmalloc() usable with tests.
|
15 years ago |
Nick Mathewson
|
24f1d29be1
Apply proposal 121 patch 3, with minor tweaks and a few comments.
|
16 years ago |
Peter Palfrader
|
e8de3ff54d
If we are lucky the whitespace nazis will not have noticed these things yet
|
16 years ago |