Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | unbound: Use plugin features and provide RESOLVER | Tobias Brunner | 2013-06-11 | 1 | -3/+12 | |
| | | ||||||
| * | plugin-feature: Add feature for DNSSEC-enabled resolvers | Tobias Brunner | 2013-06-11 | 2 | -0/+15 | |
| | | ||||||
| * | ha: Use plugin features to register listeners and attribute provider | Tobias Brunner | 2013-06-11 | 1 | -9/+37 | |
| | | ||||||
| * | farp: Use plugin features to register listener | Tobias Brunner | 2013-06-11 | 1 | -5/+29 | |
| | | ||||||
| * | error-notify: Use plugin features to register listener | Tobias Brunner | 2013-06-11 | 1 | -3/+29 | |
| | | ||||||
| * | duplicheck: Use plugin features to register listener | Tobias Brunner | 2013-06-11 | 1 | -3/+29 | |
| | | ||||||
| * | coupling: Use plugin features and soft depend on SHA1 | Tobias Brunner | 2013-06-11 | 1 | -12/+40 | |
| | | ||||||
| * | certexpire: Use plugin features to register listener | Tobias Brunner | 2013-06-11 | 1 | -4/+30 | |
| | | ||||||
| * | addrblock: Use plugin features with soft dependency on X.509 decoding | Tobias Brunner | 2013-06-11 | 1 | -5/+34 | |
| | | ||||||
| * | dhcp: Use plugin features with dependency to RNG implementation | Tobias Brunner | 2013-06-11 | 1 | -17/+45 | |
| | | ||||||
| * | sql: Use plugin features with dependency to database backend | Tobias Brunner | 2013-06-11 | 1 | -33/+62 | |
| | | ||||||
| * | attr-sql: Use plugin features with dependency to database backend | Tobias Brunner | 2013-06-11 | 1 | -24/+53 | |
| | | ||||||
| * | plugin-feature: Function added to exactly compare plugin features | Tobias Brunner | 2013-06-11 | 3 | -4/+66 | |
| | | ||||||
| * | Socket plugins soft depend on the kernel-ipsec plugin feature | Tobias Brunner | 2013-06-11 | 2 | -0/+2 | |
|/ | | | | | On most platforms calls to methods to bypass the IKE sockets and enabling UDP decapsulation are required. | |||||
* | Merge branch 'unit-tests' | Tobias Brunner | 2013-06-11 | 38 | -981/+5256 | |
|\ | | | | | | | | | | | | | | | | | Adds a test runner and several test suites for libstrongswan. Also adds an option to produce a test coverage report. Several bugs were fixed in the process and chunk_hash() was replaced with an improved implementation based on SipHash-2-4 (with a randomly allocated key to prevent hash flooding attacks). | |||||
| * | Suppress log messages during tests | Tobias Brunner | 2013-06-11 | 1 | -0/+2 | |
| | | ||||||
| * | Remove explicit leak detective checks as these are now done for all tests | Tobias Brunner | 2013-06-11 | 2 | -16/+0 | |
| | | ||||||
| * | Enable leak detective for all test cases | Tobias Brunner | 2013-06-11 | 14 | -22/+129 | |
| | | ||||||
| * | Added tests for bio_writer_t | Tobias Brunner | 2013-06-11 | 4 | -1/+397 | |
| | | ||||||
| * | Ensure buffer in bio_writer_t is properly increased | Tobias Brunner | 2013-06-11 | 1 | -49/+29 | |
| | | | | | | | | | | | | | | The previous code was problematic if bufsize/increase was smaller than 8 and an u_int64_t was written when the buffer was too small. Also, for large chunks and small bufsizes realloc() was called several times instead of just once. | |||||
| * | Added tests for bio_reader_t | Tobias Brunner | 2013-06-11 | 4 | -3/+464 | |
| | | ||||||
| * | Add getter for the number of leaks to leak_detective_t | Tobias Brunner | 2013-06-11 | 2 | -2/+23 | |
| | | ||||||
| * | Added tests for utils/enum.c | Tobias Brunner | 2013-06-11 | 4 | -1/+251 | |
| | | ||||||
| * | Gracefully handle NULL as argument for enum_from_name() | Tobias Brunner | 2013-06-11 | 1 | -1/+1 | |
| | | ||||||
| * | Additional tests for identification_t added | Tobias Brunner | 2013-06-11 | 1 | -14/+518 | |
| | | ||||||
| * | Fail DN parsing if OID is unterminated | Tobias Brunner | 2013-06-11 | 1 | -2/+6 | |
| | | | | | | | | | | This is the case if the last OID is not followed by a = or if the string starts with a =. | |||||
| * | Fix DN printing if last RDN has an empty value | Tobias Brunner | 2013-06-11 | 1 | -11/+32 | |
| | | ||||||
| * | Fix DN parsing if last RDN has an empty value | Tobias Brunner | 2013-06-11 | 1 | -1/+1 | |
| | | ||||||
| * | Fix output of ASN.1 GN | Tobias Brunner | 2013-06-11 | 1 | -1/+1 | |
| | | ||||||
| * | Use chunk_from_str in identification_from_string | Tobias Brunner | 2013-06-11 | 1 | -17/+5 | |
| | | | | | | | | | | We always have a non-empty string in those cases as "" is now handled as ID_ANY. | |||||
| * | Use local variable in chunk_from_str() | Tobias Brunner | 2013-06-11 | 1 | -2/+2 | |
| | | | | | | | | | | This allows using strdup() or other string functions as argument without calling them twice. | |||||
| * | Parse empty string as ID_ANY | Tobias Brunner | 2013-06-11 | 1 | -2/+3 | |
| | | ||||||
| * | Added tests for utils/utils.[ch] | Tobias Brunner | 2013-06-11 | 1 | -0/+375 | |
| | | ||||||
| * | Allow memstr() to be called with NULL arguments | Tobias Brunner | 2013-06-11 | 1 | -1/+6 | |
| | | ||||||
| * | Removed unused clalloc() function | Tobias Brunner | 2013-06-11 | 2 | -18/+0 | |
| | | ||||||
| * | timeval_add_ms() fixed | Tobias Brunner | 2013-06-11 | 1 | -1/+1 | |
| | | | | | | | | 1000000us are exactly 1s so. | |||||
| * | Additional tests for chunk_t | Tobias Brunner | 2013-06-11 | 1 | -2/+625 | |
| | | ||||||
| * | Also capture coverage data for tests but filter them from the result | Tobias Brunner | 2013-06-11 | 2 | -9/+13 | |
| | | | | | | | | Otherwise calls from test cases to static inline functions are not captured. | |||||
| * | Add tests for lib->get|set | Tobias Brunner | 2013-06-11 | 4 | -1/+61 | |
| | | ||||||
| * | Remove dead code in token enumerator | Tobias Brunner | 2013-06-11 | 1 | -12/+2 | |
| | | | | | | | | | | | | Since we always search for the nearest separator (and strip them from the front of the next token) there can't be any separators left at the end of a token. | |||||
| * | Additional and improved enumerator_t tests | Tobias Brunner | 2013-06-11 | 1 | -4/+219 | |
| | | ||||||
| * | Test remove and remove_at of hashtable_t if all items are in the same bucket | Tobias Brunner | 2013-06-11 | 1 | -5/+54 | |
| | | ||||||
| * | Add test cases for invoke_* and clone_* of linked_list_t | Tobias Brunner | 2013-06-11 | 1 | -0/+144 | |
| | | ||||||
| * | Improve tests for linked_list_t.replace() | Tobias Brunner | 2013-06-11 | 1 | -2/+18 | |
| | | ||||||
| * | Add additional tests for linked_list_t | Tobias Brunner | 2013-06-11 | 1 | -0/+51 | |
| | | ||||||
| * | Improved test for linked_list_t.insert_before() | Tobias Brunner | 2013-06-11 | 1 | -3/+3 | |
| | | ||||||
| * | Enable coverage report for libstrongswan | Tobias Brunner | 2013-06-11 | 2 | -1/+3 | |
| | | ||||||
| * | Add --enable-coverage configure option | Tobias Brunner | 2013-06-11 | 4 | -1/+61 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This configure flag enables lcov [1] coverage generation and is intended to be used with unit tests (--enable-unit-tests is implied). A html coverage report can be generated by issuing the following command in the toplevel build directory: make coverage [1] - http://ltp.sourceforge.net/coverage/lcov.php Based on a patch by Adrian-Ken Rueegsegger. | |||||
| * | Use proper type for enumerator_t/linked_list_t tests | Tobias Brunner | 2013-06-11 | 2 | -10/+18 | |
| | | | | | | | | Worked with -O2 but not with -O0. | |||||
| * | Converted test for recursive mutex_t | Tobias Brunner | 2013-06-11 | 6 | -30/+40 | |
| | |