diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2006-04-14 06:50:23 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2006-04-14 06:50:23 +0000 |
commit | fe67a5ac72d12dd8faf471d1c612492fed829a4b (patch) | |
tree | e63047006842dfddf0388368324211987cc15509 /javax/security/auth/x500/X500Principal.java | |
parent | 71fa4db0b20e97806bd5b11d96370695112f21b4 (diff) | |
download | classpath-fe67a5ac72d12dd8faf471d1c612492fed829a4b.tar.gz |
2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
* Merge of HEAD --> generics-branch from 2006/03/26 to 2006/04/13.
Diffstat (limited to 'javax/security/auth/x500/X500Principal.java')
-rw-r--r-- | javax/security/auth/x500/X500Principal.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javax/security/auth/x500/X500Principal.java b/javax/security/auth/x500/X500Principal.java index fcbb4950a..d78b0d3ee 100644 --- a/javax/security/auth/x500/X500Principal.java +++ b/javax/security/auth/x500/X500Principal.java @@ -395,7 +395,7 @@ public final class X500Principal implements Principal, Serializable buf.append((char) ch); } sep = in.read(); - if (sep != '+' || sep != ',') + if (sep != '+' && sep != ',') throw new IOException("illegal character: " + (char) ch); return buf.toString(); } |