summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-03-27Refactor the API for setting up a block cipher.Nick Mathewson
It allows us more flexibility on the backend if the user needs to specify the key and IV at setup time.
2012-03-27Remove support for PK_NO_PADDING in crypto_pk_public_hybrid_encryptNick Mathewson
We never use it, and it would be a stupid thing if we started using it.
2012-03-27Log statement to help track down bug4091Nick Mathewson
2012-03-27Merge remote-tracking branch 'karsten/bug5053'Nick Mathewson
2012-03-27Provide large enough buffer in test_util_sscanf()Sebastian Hahn
This was causing crashes during unit test runs, as stack smashing protections got triggered. Issue spotted by weasel
2012-03-27bump to 0.2.3.13-alpha-devRoger Dingledine
2012-03-26Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/or/control.c
2012-03-26Merge remote-tracking branch 'rransom-tor/safecookie-022-v3' into maint-0.2.2Nick Mathewson
2012-03-26Merge commit 'a5704b1c624c9a808f52f3a125339f00e2b9a378' into maint-0.2.2Nick Mathewson
2012-03-26bump to 0.2.3.13-alphaRoger Dingledine
2012-03-22Never disable debugger attachment for the unit testsSebastian Hahn
2012-03-14Stop discarding command-line arguments when TestingTorNetwork is setRoger Dingledine
Discovered by Kevin Bauer. Fixes bug 5373; bugfix on 0.2.3.9-alpha, where task 4552 added support for two layers of torrc files.
2012-03-12Close fds on pipe() error in tor_spawn_background().George Kadianakis
2012-03-09Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/or/circuitbuild.c
2012-03-09Never choose a bridge as an exit. Bug 5342.Nick Mathewson
2012-03-09Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2012-03-09Revise "sufficient exit nodes" check to work with restrictive ExitNodesNick Mathewson
If you set ExitNodes so that only 1 exit node is accepted, the previous patch would have made you unable to build circuits.
2012-03-09Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/or/routerlist.c
2012-03-09Merge branch 'bug5343' into maint-0.2.2Nick Mathewson
2012-03-09Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2012-03-09Correctly handle broken escape sequences in torrc valuesNick Mathewson
Previously, malformatted torrc values could crash us. Patch by Esteban Manchado. Fixes bug 5090; fix on 0.2.0.16-alpha.
2012-03-08Disable some tor_sscanf tests that gcc says are illegal formatsNick Mathewson
2012-03-08Fix new strcmp_opt/len tests on OSs where strcmp() can return values >1 or <-1Nick Mathewson
2012-03-08Add unit tests for path_is_relativeEsteban Manchado Velázquez
2012-03-08Some more corner cases for tor_sscanfEsteban Manchado Velázquez
2012-03-08expand_filename tests for trailing slash in $HOMEEsteban Manchado Velázquez
2012-03-08Add some tests for expand_filenameEsteban Manchado Velázquez
2012-03-08Add two small tests for tor_sscanfEsteban Manchado Velázquez
2012-03-08Add test for broken escapes in parse_config_...Esteban Manchado Velázquez
2012-03-08Add some unit tests for parse_iso_timeEsteban Manchado Velázquez
2012-03-08Add tests for string_is_C_identifierEsteban Manchado Velázquez
2012-03-08Improve coverage in string-related unit testsEsteban Manchado Velázquez
2012-03-08Improve coverage in time-related unit testsEsteban Manchado Velázquez
2012-03-08Remove unreliable assertionEsteban Manchado Velázquez
* This assertion fails when executing the whole suite, but not when executing this test by itself * Ideally I'd prefer starting with a guaranteed empty directory, but it's not very important in this case as non-existence of other paths is being checked explicitly
2012-03-08Add extra tests for wrap_stringEsteban Manchado Velázquez
2012-03-08Add extra tests for get_parent_directoryEsteban Manchado Velázquez
2012-03-08Tweak test case text so it's clearerEsteban Manchado Velázquez
2012-03-08Improve eat_whitespace* unit testsEsteban Manchado Velázquez
2012-03-08Put expected first in n_bits_set_u8 unit testsEsteban Manchado Velázquez
2012-03-08Improve tor_split_lines unit testsEsteban Manchado Velázquez
* Add some more test cases * Switch to test_assert et al
2012-03-08Use test_streq in join_win_cmdline unit testsEsteban Manchado Velázquez
2012-03-08Use test_eq et al in spawn_background unit testsEsteban Manchado Velázquez
2012-03-08Use test_streq in format_helper_exit_status testsEsteban Manchado Velázquez
2012-03-08Improve get_parent_directory unit testsEsteban Manchado Velázquez
* Add more test cases to the get_parent_directory tests * Switch the parameter order so that the expected value is the first one
2012-03-08Improve listdir unit testsEsteban Manchado Velázquez
2012-03-08Improve a bit asprintf unit testsEsteban Manchado Velázquez
2012-03-08Rewrite the find_str_at_start_of_line unit testsEsteban Manchado Velázquez
2012-03-08Improve/extend strtok_r unit testsEsteban Manchado Velázquez
* Add several failing tests (embedded in an "#if 0" block) for behaviour that doesn't match strtok_r * Add another, passing, more interesting test * Use test_eq_ptr(NULL, ...) instead of test_assert(NULL == ...)
2012-03-08Improve tor_sscanf testsEsteban Manchado Velázquez
* Add many new test cases, tweak/improve existing ones, reorganize them a bit * Switch the parameters in all test_eq calls so the expected value is the first * Change all the "r = tor_sscanf(...);\ntest_eq(1, r)" to the more compact "test_eq(1, tor_sscanf(...))". It may be a tiny bit harder to find the tor_sscanf calls (it's the long lines anyway), but it saves a lot of lines, which should help readability.
2012-03-08Small fix in tor_sscanf documentationEsteban Manchado Velázquez