Allow multiple IDN xn-- indicators
authorRich Salz <rsalz@openssl.org>
Mon, 12 Jan 2015 17:39:00 +0000 (12:39 -0500)
committerRich Salz <rsalz@openssl.org>
Mon, 12 Jan 2015 17:40:29 +0000 (12:40 -0500)
commit2194b36979e84ba9c0ea84ba458cab51df6bceb8
tree2341c5eef5fb607396a7bfe2ff4b16fa692f4cdd
parente81a83657cc9a708ea25d4fcde6e0e9d04dd3ac5
Allow multiple IDN xn-- indicators

Update the X509v3 name parsing to allow multiple xn-- international
domain name indicators in a name.  Previously, only allowed one at
the beginning of a name, which was wrong.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(cherry picked from commit 31d1d3741f16bd80ec25f72dcdbf6bbdc5664374)
crypto/x509v3/v3_utl.c