[erlang-patches] public_key: Workaround for incorrectly encoded utf8 emailAddress
Fri Nov 8 01:46:03 CET 2013
This pull request allows certificates with an improperly encoded
emailAddress entry to be decoded.
It is very similar to commit
2012-08-23 which did the same thing for improperly encoded
In addition to the extra test case for emailAddress, there is a minor
spelling correction in public_key_SUITE related to the X520countryName test
case (incorrect_cuntry_name to incorrect_country_name).
Most common browsers are lax in thier handling of how the
emailAddress field is encoded. RFC 3280 section 184.108.40.206
defines the encoding as IA5String, however browsers will
also handle certificates with the emailAddress field
encoded as UTF8String. This fix allows the emailAddress
to be decoded as both an IA5String and an UTF8String.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-patches