Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | trap-manager: Reset IKE_SA on bus_t if initiating fails | Tobias Brunner | 2013-11-21 | 1 | -0/+1 | |
| | ||||||
* | trap-manager: Prevent deadlock when installing trap policies | Tobias Brunner | 2013-11-21 | 1 | -40/+46 | |
| | | | | | | | | | | | Because the write lock was held while calling add_policies() on child_sa_t, which finishes with a call to child_state_change() on bus_t, a deadlock would ensue if CHILD_SAs are concurrently being established, which also causes a call to child_state_change() that will require the read lock in trap_manager_t. No locks are now being held while creating the CHILD_SA and installing the trap policies. | |||||
* | coverage: Report branch coverage | Tobias Brunner | 2013-11-21 | 1 | -3/+5 | |
| | ||||||
* | printf-hook-builtin: Don't use %P to print uppercase hex pointers | Martin Willi | 2013-11-20 | 1 | -6/+0 | |
| | | | | We use %P as custom printf specifier for proposals. | |||||
* | testing: Config for Linux kernel 3.12 | Tobias Brunner | 2013-11-19 | 1 | -0/+2022 | |
| | | | | | | | | The most significant change is that CONFIG_ACPI_PROC_EVENT is now finally removed (after being deprecated for a long time). So to successfully shutdown the guests via ACPI the CONFIG_INPUT_EVDEV option is now enabled. | |||||
* | openssl: Verify that a peer's ECDH public value is a point on the elliptic curve | Tobias Brunner | 2013-11-19 | 1 | -0/+5 | |
| | | | | | This check is mandated by RFC 6989. Since we don't reuse DH secrets, it is mostly a sanity check. | |||||
* | kernel-netlink: Enable TFC padding only for tunnel mode ESP SAs | Tobias Brunner | 2013-11-19 | 1 | -2/+2 | |
| | | | | | | | The kernel does not allow them for transport mode SAs or IPComp SAs (and of course not for AH SAs). Fixes #446. | |||||
* | Version bump to 5.1.2dr1 | Andreas Steffen | 2013-11-19 | 1 | -1/+1 | |
| | ||||||
* | Implemented libstrongswan.plugins.random.strong_equals_true option | Andreas Steffen | 2013-11-16 | 4 | -0/+26 | |
| | ||||||
* | android: New release based on 5.1.1 | Tobias Brunner | 2013-11-13 | 2 | -4/+5 | |
| | | | | | This fixes issues with IVs and padding in ESP handling and removes the Vstr dependency. | |||||
* | android: Remove dependency on libvstr | Tobias Brunner | 2013-11-13 | 20 | -46/+5 | |
| | ||||||
* | Merge branch 'unit-tests' | Martin Willi | 2013-11-06 | 40 | -355/+3383 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | Replace the "check" based libstrongswan unit test framework with our own, giving us more flexibility for our specific needs. The new framework is more portable and uses complete libstrongswan init/deinit cycles for each test to properly catch leaks. It fully supports multi-threaded tests, and brings many of them for all threading primitives, watcher and streams. The --enable-unit-tests option is not required anymore for libstrongswan tests, but still is for the still "check" based charon-tkm tests. | |||||
| * | unit-tests: Initialize tests with a callback | Tobias Brunner | 2013-11-06 | 3 | -56/+58 | |
| | | ||||||
| * | plugin-loader: Convenience function added to add plugin dirs in build tree | Tobias Brunner | 2013-11-06 | 2 | -0/+28 | |
| | | ||||||
| * | unit-tests: Separate test runner to a library, reusable by other tests | Martin Willi | 2013-11-06 | 5 | -68/+168 | |
| | | | | | | | | | | | | Other users may make use of the noinst libtest.la helper library to implement unit tests. For libstrongswan, tests.[ch] provide the configuration for test runner to perform unit tests in a simple manner. | |||||
| * | unit-tests: Use some include magic to define test suite constructors | Martin Willi | 2013-11-06 | 2 | -73/+55 | |
| | | | | | | | | | | Avoid editing of several files when creating test suites by using a single header file to define test suite constructor functions. | |||||
| * | unit-tests: Check printing of strings having zero length | Martin Willi | 2013-11-06 | 1 | -0/+2 | |
| | | ||||||
| * | unit-tests: Add some basic tests if PRI* printf specifiers work as expected | Martin Willi | 2013-11-06 | 1 | -0/+25 | |
| | | ||||||
| * | unit-tests: Add a semaphore wait cancel test | Martin Willi | 2013-11-06 | 1 | -0/+44 | |
| | | ||||||
| * | unit-tests: Add a semaphore absolute timed wait test | Martin Willi | 2013-11-06 | 1 | -0/+27 | |
| | | ||||||
| * | unit-tests: Add a semaphore timed wait test case | Martin Willi | 2013-11-06 | 1 | -0/+24 | |
| | | ||||||
| * | unit-tests: Add a simple semaphore test | Martin Willi | 2013-11-06 | 1 | -0/+40 | |
| | | ||||||
| * | unit-tests: Add a spinlock test case | Martin Willi | 2013-11-06 | 1 | -0/+49 | |
| | | ||||||
| * | unit-tests: Add a rwlock condvar thread cancel test | Martin Willi | 2013-11-06 | 1 | -0/+57 | |
| | | ||||||
| * | unit-tests: Add a rwlock condvar absolute timed wait test | Martin Willi | 2013-11-06 | 1 | -0/+43 | |
| | | ||||||
| * | unit-tests: Add a rwlock condvar wait test | Martin Willi | 2013-11-06 | 1 | -0/+40 | |
| | | ||||||
| * | unit-tests: Add a rwlock condvar broadcast test | Martin Willi | 2013-11-06 | 1 | -0/+43 | |
| | | ||||||
| * | unit-tests: Add a rwlock condvar test | Martin Willi | 2013-11-06 | 1 | -0/+50 | |
| | | ||||||
| * | unit-tests: Add a rwlock test case | Martin Willi | 2013-11-06 | 1 | -0/+62 | |
| | | ||||||
| * | unit-tests: Add a condvar test where wait gets cancelled | Martin Willi | 2013-11-06 | 1 | -0/+57 | |
| | | ||||||
| * | unit-tests: Add a condvar test working on a recursive mutex | Martin Willi | 2013-11-06 | 1 | -0/+50 | |
| | | ||||||
| * | unit-tests: Add a condvar absolute timed wait test | Martin Willi | 2013-11-06 | 1 | -0/+43 | |
| | | ||||||
| * | unit-tests: Add a condvar timed wait test | Martin Willi | 2013-11-06 | 1 | -0/+40 | |
| | | ||||||
| * | unit-tests: Add condvar broadcast test | Martin Willi | 2013-11-06 | 1 | -0/+43 | |
| | | ||||||
| * | unit-tests: Add a simple condvar test | Martin Willi | 2013-11-06 | 1 | -4/+61 | |
| | | ||||||
| * | unit-tests: Add a thread local storage cleanup test | Martin Willi | 2013-11-06 | 1 | -0/+50 | |
| | | ||||||
| * | unit-tests: Add a thread local storage fuzzer test | Martin Willi | 2013-11-06 | 1 | -0/+64 | |
| | | ||||||
| * | unit-tests: Add a thread cleanup pop test | Martin Willi | 2013-11-06 | 1 | -0/+33 | |
| | | ||||||
| * | unit-tests: Add cleanup test cases for different thread exit situations | Martin Willi | 2013-11-06 | 1 | -0/+126 | |
| | | ||||||
| * | unit-tests: Add a test for thread_cancellation_point() | Martin Willi | 2013-11-06 | 1 | -0/+33 | |
| | | ||||||
| * | unit-tests: Add thread cancellability testing | Martin Willi | 2013-11-06 | 1 | -0/+50 | |
| | | ||||||
| * | unit-tests: Add a simple thread_cancel() test | Martin Willi | 2013-11-06 | 1 | -0/+35 | |
| | | ||||||
| * | unit-tests: Add thread_exit() tests to both join and detach test cases | Martin Willi | 2013-11-06 | 1 | -0/+62 | |
| | | ||||||
| * | unit-tests: Add a simple thread detach test | Martin Willi | 2013-11-06 | 1 | -0/+36 | |
| | | ||||||
| * | unit-tests: Add a simple thread join() test | Martin Willi | 2013-11-06 | 1 | -0/+27 | |
| | | ||||||
| * | unit-tests: Add test suite for streams and services | Martin Willi | 2013-11-06 | 4 | -0/+270 | |
| | | ||||||
| * | unit-tests: Add a few test cases for watcher | Martin Willi | 2013-11-06 | 4 | -0/+217 | |
| | | ||||||
| * | unit-tests: Support testing multi-threaded code | Martin Willi | 2013-11-06 | 2 | -7/+49 | |
| | | ||||||
| * | unit-tests: Use a home-brew thread barrier to remove pthread dependency | Martin Willi | 2013-11-06 | 1 | -15/+86 | |
| | | ||||||
| * | unit-tests: Show how many test vectors have failed on test failure | Martin Willi | 2013-11-06 | 1 | -1/+2 | |
| | |