summaryrefslogtreecommitdiff
path: root/javax/security
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2006-04-06 17:15:14 +0000
committerTom Tromey <tromey@redhat.com>2006-04-06 17:15:14 +0000
commita98e6ff4f7d6bf4d1cf2f606218b83fcc2bee527 (patch)
treef16747f7246296122727be9295924a60d90640f9 /javax/security
parent108113f836e7d86291f1f3ad620f7a68f102b94e (diff)
downloadclasspath-a98e6ff4f7d6bf4d1cf2f606218b83fcc2bee527.tar.gz
* javax/security/auth/x500/X500Principal.java
(readAttributeValue) Check for separator after quoted value was failing in all cases.
Diffstat (limited to 'javax/security')
-rw-r--r--javax/security/auth/x500/X500Principal.java2
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();
}