Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | daemon: Use separate method to set default loggers | Tobias Brunner | 2017-01-25 | 1 | -1/+1 |
| | | | | | This way it is not necessary to pass the same values to reload the loggers. | ||||
* | unit-tests: Only deliver messages to the SA they are addressed to | Tobias Brunner | 2016-06-17 | 1 | -4/+12 |
| | |||||
* | unit-tests: Make sure to flush the IKE_SA manager before destroying the sender | Tobias Brunner | 2016-06-17 | 1 | -1/+3 |
| | | | | | | | | | | As the static plugin that creates and destroys the default sender was not initialized because of the missing socket the daemon won't destroy our sender. Test cases will eventually have to flush the IKE_SA manager to satisfy the leak detective. However, in case of a test failure and if there are IKE_SAs in the manager the daemon will flush the SAs when deinitializing, which will cause deletes to get sent. This crashes if the sender is already destroyed. | ||||
* | unit-tests: Return status from process_message() | Tobias Brunner | 2016-06-17 | 1 | -2/+5 |
| | |||||
* | unit-tests: Provide a wrapper around bus_t::add_listener and unregister them ↵ | Tobias Brunner | 2016-06-17 | 1 | -0/+20 |
| | | | | | | | | during cleanup In case listeners on the stack are triggered while cleaning up after a test failed (e.g. via ike_sa_manager_t::flush) remaining listeners defined on the stack would cause a segmentation fault. | ||||
* | unit-tests: Make IKE and ESP proposals configurable | Tobias Brunner | 2016-06-17 | 1 | -30/+87 |
| | |||||
* | unit-tests: Register nonce generator and make first nonce byte configurable | Tobias Brunner | 2016-06-17 | 1 | -1/+13 |
| | |||||
* | unit-tests: Register mock DH implementation as static plugin feature | Tobias Brunner | 2016-06-17 | 1 | -0/+11 |
| | |||||
* | unit-tests: Make IKE SPIs predictable | Tobias Brunner | 2016-06-17 | 1 | -0/+14 |
| | |||||
* | unit-tests: Call methods on IKE_SAs in their context | Tobias Brunner | 2016-06-17 | 1 | -2/+1 |
| | |||||
* | unit-tests: Add helper class/object to test IKE exchanges | Tobias Brunner | 2016-06-17 | 1 | -0/+246 |