summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strmode.c
diff options
context:
space:
mode:
authortb <>2021-12-24 03:00:37 +0000
committertb <>2021-12-24 03:00:37 +0000
commite9b5d4af374b8c6dcad775059c5243b684e88357 (patch)
treeebbbe941ba9cb12e20db55c8bec72195636fd4b6 /src/lib/libc/string/strmode.c
parentef7405266983f910fc9afc376bbebd84ec03e0b0 (diff)
downloadopenbsd-e9b5d4af374b8c6dcad775059c5243b684e88357.tar.gz
openbsd-e9b5d4af374b8c6dcad775059c5243b684e88357.tar.bz2
openbsd-e9b5d4af374b8c6dcad775059c5243b684e88357.zip
Add initial test coverage for RFC 3779 code.
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.
Diffstat (limited to 'src/lib/libc/string/strmode.c')
0 files changed, 0 insertions, 0 deletions