aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/tests/suites/test_traffic_selector.c
Commit message (Collapse)AuthorAgeFilesLines
* traffic-selector: Use single buffer for both address familiesTobias Brunner2017-08-171-9/+29
| | | | | | | | The generic field of size 0 in the union that was used previously triggered index-out-of-bounds errors with the UBSAN sanitizer that's used on OSS-Fuzz. Since the two family specific union members don't really provide any advantage, we can just use a single buffer for both families to avoid the errors.
* traffic-selector: Allow calling set_address() for any traffic selectorTobias Brunner2017-02-271-2/+10
| | | | | Users may check is_host(), is_dynamic() or includes() before calling this if restrictions are required (most actually already do).
* Use standard unsigned integer typesAndreas Steffen2016-03-241-20/+20
|
* traffic-selector: Don't end printf'ed list of traffic selectors with a spaceTobias Brunner2015-11-101-3/+3
|
* unit-tests: Additional test cases to increase coverageTobias Brunner2015-08-271-7/+587
|
* unit-tests: Accept numerical protocol/port numbers in traffic selector testsMartin Willi2015-02-231-11/+16
|
* unit-tests: Add an initial set of traffic selector unit testsMartin Willi2015-02-201-0/+279