Fix X500PrincipalTest.

X500Principal constructor takes string in rfc2253 or rfc1779 format.
In rfc1779 \n is a special character so it can be escaped.
This means the IllegalArgumentException should be thrown.
On the other hand when we ask for it's name in rfc2253 format then
\n shouldn't be escaped since it's not special any more.

Change-Id: I7cbfb026d1741b59103dad275b54fbc4293ff90c
1 file changed