Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix numerous 64->32 errors in the unit tests | Nick Mathewson | 2014-05-08 |
| | | | | Before the 11825 fix, these were all silently ignored. | ||
* | Fix numerous type errors in the unit tests | Nick Mathewson | 2014-05-08 |
| | | | | | | Remove tinytest casts that were suppressing them. Fix for #11825. | ||
* | Fix leaks in tests related to setting options->DataDirectory | Nick Mathewson | 2014-04-29 |
| | | | | | We pre-populate that value in main(), and we weren't freeing it before overriding it. | ||
* | Report only the first bootstrap failure from an orconn | Nick Mathewson | 2014-03-27 |
| | | | | | | | Otherwise, when we report "identity mismatch", we then later report DONE when the connection gets closed. Fixes bug 10431; bugfix on 0.2.1.1-alpha. | ||
* | Throw control port warning if we failed to connect to all our bridges. | George Kadianakis | 2014-03-10 |
| | |||
* | Test ExtORPort cookie initialization when file writing is broken. | George Kadianakis | 2013-08-15 |
| | |||
* | Test some fail conditions of ext_orport.c USERADDR/TRANSPORT parsing. | George Kadianakis | 2013-08-15 |
| | |||
* | Fix some #5040 bugs found by Nick's tests. | George Kadianakis | 2013-08-15 |
| | | | | | | - Set conn->address when we receive a USERADDR command. - Set conn->state to a sane value when we transition from Extended ORPort to ORPort. | ||
* | Implement and use a generic auth. cookie initialization function. | George Kadianakis | 2013-08-15 |
| | | | | | | | | | | | | | | Use the generic function for both the ControlPort cookie and the ExtORPort cookie. Also, place the global cookie variables in the heap so that we can pass them around more easily as pointers. Also also, fix the unit tests that broke by this change. Conflicts: src/or/config.h src/or/ext_orport.c | ||
* | White-box tests for the succeeding case of ext_or_port handshake. | Nick Mathewson | 2013-08-15 |
| | | | | | (Okay, white-box plus mocking enough other functions so they don't crash.) | ||
* | Test for initializing ext_or_auth_cookie file | Nick Mathewson | 2013-08-15 |
| | |||
* | Unit test for the ext_orport safe_cookie handshake | Nick Mathewson | 2013-08-15 |
| | |||
* | More unit tests for handle_client_auth_nonce | Nick Mathewson | 2013-08-15 |
| | | | | | | Incidentally, this business here where I make crypto_rand mockable: this is exactly the kind of thing that would make me never want to include test-support stuff in production builds. | ||
* | Unit test for basic ext_or_cookie authentication backend | Nick Mathewson | 2013-08-15 |
| | |||
* | Tests for connection_write_ext_or_command. | Nick Mathewson | 2013-08-15 |
| | |||
* | Unit tests for ext_or_id_map. | Nick Mathewson | 2013-08-15 |