diff options
author | tb <> | 2022-05-12 19:56:43 +0000 |
---|---|---|
committer | tb <> | 2022-05-12 19:56:43 +0000 |
commit | de3601f2e1e6ee4ff034d168947992efb01a83b0 (patch) | |
tree | eacd1e541d102f04cefa01df3c16542d6fc07ab9 /src/lib/libcrypto/asn1/a_string.c | |
parent | 540bbdf30960c9ead73d3d602b60c159183caf60 (diff) | |
download | openbsd-de3601f2e1e6ee4ff034d168947992efb01a83b0.tar.gz openbsd-de3601f2e1e6ee4ff034d168947992efb01a83b0.tar.bz2 openbsd-de3601f2e1e6ee4ff034d168947992efb01a83b0.zip |
Rewrite and fix X509v3_asid_subset()
X509v3_asid_subset() assumes that both asnum and rdi are present while
they are both marked OPTIONAL in RFC 3779, 3.2.3. It will crash if
either one is missing. In RPKI land RDI is a MUST NOT use (e.g, RFC
6487, 4.8.11), so this API is currently useless (and seemingly unused).
Pick apart an ugly logical pipeline and implement this check in a
readable fashion.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/asn1/a_string.c')
0 files changed, 0 insertions, 0 deletions