Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rfc3779: remove redundant const. | tb | 2023-12-13 | 1 | -5/+5 |
| | | | | | This is already included in the typedef (yuck) and makes some Windows compilers unhappy. | ||||
* | Exercise d2i_IPAddrBlocks() and X509v3_addr_subset() a little bit | tb | 2023-04-20 | 1 | -9/+34 |
| | |||||
* | Clean up makefile | tb | 2022-12-03 | 1 | -8/+6 |
| | |||||
* | Only constraints and verify need static linking in here. | tb | 2022-06-02 | 1 | -2/+2 |
| | |||||
* | Enable X509v3_asid_subset() tests now that they no longer segfault. | tb | 2022-05-12 | 1 | -7/+1 |
| | |||||
* | Add a few more testcases for X509v3_asid_subset() | tb | 2022-05-12 | 1 | -1/+144 |
| | |||||
* | Add some workarounds to make build_addr_block_test_data const. | tb | 2022-01-07 | 1 | -17/+26 |
| | |||||
* | Revert previous accidental commit | tb | 2022-01-07 | 1 | -2/+2 |
| | |||||
* | Add a comment that explains why build_addr_block_tests isn't const | tb | 2022-01-06 | 2 | -3/+8 |
| | |||||
* | Fix a copy-paste error that led to an out-of-bounds access. | tb | 2022-01-06 | 1 | -2/+2 |
| | | | | Found via a crash on bluhm's i386 regress test box | ||||
* | Remove bandaid to work around expected range_should_be_prefix() problem. | tb | 2022-01-05 | 1 | -6/+2 |
| | |||||
* | The RFC 3779 test needs LIBRESSL_CRYPTO_INTERNAL as lon as the API | tb | 2021-12-24 | 1 | -2/+2 |
| | | | | isn't public. | ||||
* | Style tweak in {d2i,i2d}_IPAddrBlocks() | tb | 2021-12-24 | 1 | -5/+5 |
| | |||||
* | Drop -g -O0 from CFLAGS | tb | 2021-12-24 | 1 | -2/+2 |
| | |||||
* | Add initial test coverage for RFC 3779 code. | tb | 2021-12-24 | 2 | -0/+1804 |
This exercises the code paths that are reached from the validator and also tests that the public API behaves as expected. There is a lot more that could be done here, but this test is already big enough. Missing are tests for X509v3_{addr,asid}_validate_{path,resource_set}() themselves. One test failure is ignored and will be fixed in the near future when a bad logic error in range_should_be_prefix() is fixed. A consequence of this bug is that we will currently accept and generate DER that doesn't conform to RFC 3779. |