summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/a_string.c
diff options
context:
space:
mode:
authortb <>2022-05-12 19:56:43 +0000
committertb <>2022-05-12 19:56:43 +0000
commitde3601f2e1e6ee4ff034d168947992efb01a83b0 (patch)
treeeacd1e541d102f04cefa01df3c16542d6fc07ab9 /src/lib/libcrypto/asn1/a_string.c
parent540bbdf30960c9ead73d3d602b60c159183caf60 (diff)
downloadopenbsd-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