diff options
Diffstat (limited to 'libjava/classpath/javax/security/auth/x500')
-rw-r--r-- | libjava/classpath/javax/security/auth/x500/X500Principal.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/classpath/javax/security/auth/x500/X500Principal.java b/libjava/classpath/javax/security/auth/x500/X500Principal.java index fcbb495..d78b0d3 100644 --- a/libjava/classpath/javax/security/auth/x500/X500Principal.java +++ b/libjava/classpath/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(); } |