summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authortb <>2023-12-16 12:56:20 +0000
committertb <>2023-12-16 12:56:20 +0000
commitc5b1a831f54ee74ee3cdf4e77ec6190f403abd7d (patch)
tree32e2014726afa0f9bada79993c22be886cf461c9 /src/lib/libc
parent7c5eb432044db6b4296501d07882c6472613dae8 (diff)
downloadopenbsd-c5b1a831f54ee74ee3cdf4e77ec6190f403abd7d.tar.gz
openbsd-c5b1a831f54ee74ee3cdf4e77ec6190f403abd7d.tar.bz2
openbsd-c5b1a831f54ee74ee3cdf4e77ec6190f403abd7d.zip
Annotate incorrect value for ub_email_address
The ub_email_address upper bound, 128, returned for NID_pkcs9_emailAddress, doesn't match the PKCS#9 specification where it is 255. This was adjusted in RFC 5280: The ASN.1 modules in Appendix A are unchanged from RFC 3280, except that ub-emailaddress-length was changed from 128 to 255 in order to align with PKCS #9 [RFC2985]. Nobody seems to have noticed so far, so leave it at an XXX and a BUGS entry for now. It also clearly has the wrong name. Another mystery is why the RFCs suffix some upper bounds with length, but not others. Also, OpenSSL chose to be inconsistent with that, because inconsistency is one of the few things this library is really good at.
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions