NativeCrypto: reject non-IA5String altnames

Certificates with rfc822Name, dNSName, or uniformResourceLocator must be
an IA5String, but OpenSSL doesn't enforce that during parsing. Return
NULL for those entries that don't comply.

Change-Id: I26727007196980648955f861df1d1cc013506911
1 file changed