summaryrefslogtreecommitdiff
path: root/tests/name-constraints-ip.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant resets of variables after free()Tim Rühsen2019-02-221-2/+1
| | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* tests: addressed compiler warningsNikos Mavrogiannopoulos2016-11-201-2/+1
|
* several spacing fixes to keep syntax-check happyNikos Mavrogiannopoulos2016-09-111-16/+16
|
* tests: don't build cmocka tests with libutils - they conflictNikos Mavrogiannopoulos2016-09-061-10/+6
|
* x509: Adjust IP name constraints behaviorMartin Ukrop2016-09-061-6/+6
| | | | | | | - Modified IPv4/IPv6 interaction in name constraints -- IPv4 and IPv6 no have empty intersection (previously: were treated independently). - Current behavior is more conservative -- in case of IPv4 constraint cert, subcerts will not be able to have IPv6 addresses. - Tests updated accordingly. - Behavior now matches NSS.
* tests: Add tests for X509 IP constraintsMartin Ukrop2016-08-091-0/+726
- Add dedicated test file name-constraints-ip for IP tests. - Test the following: * Generation and saving of valid name constraints. * Trying to save invalid IP constraints. * Reading the saved constraints. * constraints_check() calls for both IPv4 and IPv6. * IP constraints intersection (simple, empty, mediocre, complicated). * IPv4/IPv6 constraints interaction and various corner cases. - IPs/CIDRs are printed in logs in case of failure. - Add 2 new chain tests (positive, negative). - Add generated test executable to ignored files. Signed-off-by: Martin Ukrop <mukrop@redhat.com>