aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan
Commit message (Collapse)AuthorAgeFilesLines
...
* curl: add an option to fetch bound to a local source addressMartin Willi2013-06-113-0/+23
|
* fetcher: add missing "continue" when handling FETCH_CALLBACKMartin Willi2013-06-111-1/+1
|
* leak-detective: Resolve hooked functions during initializationTobias Brunner2013-06-111-1/+4
| | | | | | | | | If uses of dlopen(), e.g. when loading plugins, produce errors an error string could get allocated dynamically. At this point realloc() might not yet be resolved and when dlsym() is later called by leak detective to do so the error string might get freed while leak detective is disabled and real_free() will be called with a pointer into one of leak detective's memory blocks instead of a pointer to the block itself, causing a SIGSEGV.
* Refactored plugin-loader with improved dependency resolutionTobias Brunner2013-06-112-238/+479
| | | | | | With the new implementation the plugins don't have to be listed in any special order, dependencies are properly resolved. The order only matters if two plugins provide the same feature.
* test-vectors: Use plugin featuresTobias Brunner2013-06-111-1/+12
|
* revocation: Use plugin features with soft dependencies on fetcher and ↵Tobias Brunner2013-06-111-3/+35
| | | | en-/decoding
* padlock: Use plugin features to properly register algorithmsTobias Brunner2013-06-111-39/+43
|
* pkcs11: Use plugin_features_add() in get_features()Tobias Brunner2013-06-111-21/+8
|
* plugin-feature: Added helper function to extend arrays of plugin featuresTobias Brunner2013-06-111-0/+21
|
* constraints: Use plugin features with soft dependency on X.509 decodingTobias Brunner2013-06-111-3/+31
|
* blowfish: Use plugin features to properly register crypterTobias Brunner2013-06-111-8/+13
|
* unbound: Use plugin features and provide RESOLVERTobias Brunner2013-06-111-3/+12
|
* plugin-feature: Add feature for DNSSEC-enabled resolversTobias Brunner2013-06-112-0/+15
|
* plugin-feature: Function added to exactly compare plugin featuresTobias Brunner2013-06-113-4/+66
|
* Suppress log messages during testsTobias Brunner2013-06-111-0/+2
|
* Remove explicit leak detective checks as these are now done for all testsTobias Brunner2013-06-112-16/+0
|
* Enable leak detective for all test casesTobias Brunner2013-06-1114-22/+129
|
* Added tests for bio_writer_tTobias Brunner2013-06-114-1/+397
|
* Ensure buffer in bio_writer_t is properly increasedTobias Brunner2013-06-111-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_tTobias Brunner2013-06-114-3/+464
|
* Add getter for the number of leaks to leak_detective_tTobias Brunner2013-06-112-2/+23
|
* Added tests for utils/enum.cTobias Brunner2013-06-114-1/+251
|
* Gracefully handle NULL as argument for enum_from_name()Tobias Brunner2013-06-111-1/+1
|
* Additional tests for identification_t addedTobias Brunner2013-06-111-14/+518
|
* Fail DN parsing if OID is unterminatedTobias Brunner2013-06-111-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 valueTobias Brunner2013-06-111-11/+32
|
* Fix DN parsing if last RDN has an empty valueTobias Brunner2013-06-111-1/+1
|
* Fix output of ASN.1 GNTobias Brunner2013-06-111-1/+1
|
* Use chunk_from_str in identification_from_stringTobias Brunner2013-06-111-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 Brunner2013-06-111-2/+2
| | | | | This allows using strdup() or other string functions as argument without calling them twice.
* Parse empty string as ID_ANYTobias Brunner2013-06-111-2/+3
|
* Added tests for utils/utils.[ch]Tobias Brunner2013-06-111-0/+375
|
* Allow memstr() to be called with NULL argumentsTobias Brunner2013-06-111-1/+6
|
* Removed unused clalloc() functionTobias Brunner2013-06-112-18/+0
|
* timeval_add_ms() fixedTobias Brunner2013-06-111-1/+1
| | | | 1000000us are exactly 1s so.
* Additional tests for chunk_tTobias Brunner2013-06-111-2/+625
|
* Also capture coverage data for tests but filter them from the resultTobias Brunner2013-06-111-1/+1
| | | | Otherwise calls from test cases to static inline functions are not captured.
* Add tests for lib->get|setTobias Brunner2013-06-114-1/+61
|
* Remove dead code in token enumeratorTobias Brunner2013-06-111-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 testsTobias Brunner2013-06-111-4/+219
|
* Test remove and remove_at of hashtable_t if all items are in the same bucketTobias Brunner2013-06-111-5/+54
|
* Add test cases for invoke_* and clone_* of linked_list_tTobias Brunner2013-06-111-0/+144
|
* Improve tests for linked_list_t.replace()Tobias Brunner2013-06-111-2/+18
|
* Add additional tests for linked_list_tTobias Brunner2013-06-111-0/+51
|
* Improved test for linked_list_t.insert_before()Tobias Brunner2013-06-111-3/+3
|
* Enable coverage report for libstrongswanTobias Brunner2013-06-112-1/+3
|
* Use proper type for enumerator_t/linked_list_t testsTobias Brunner2013-06-112-10/+18
| | | | Worked with -O2 but not with -O0.
* Converted test for recursive mutex_tTobias Brunner2013-06-114-1/+113
|
* Randomly allocate chunk_hash() key during first useTobias Brunner2013-06-111-1/+46
| | | | This avoids hash flooding attacks.
* Replace chunk_hash() with output from chunk_mac()Tobias Brunner2013-06-112-75/+31
| | | | | | | The quality is way better, the calculation is a bit slower though. The key is statically initialized to zero, which will be changed later to prevent hash flooding.