aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/security
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/security')
-rw-r--r--libjava/java/security/cert/TrustAnchor.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/java/security/cert/TrustAnchor.java b/libjava/java/security/cert/TrustAnchor.java
index 4758cf7..448b855b 100644
--- a/libjava/java/security/cert/TrustAnchor.java
+++ b/libjava/java/security/cert/TrustAnchor.java
@@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-
+
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@@ -140,7 +140,7 @@ public class TrustAnchor
public final String getCAName()
{
if (caName != null)
- return caName.toRFC2253();
+ return caName.toString();
return null;
}
@@ -179,7 +179,7 @@ public class TrustAnchor
{
if (trustedCert == null)
return "[ Trusted CA Public Key=" + caKey + ", Trusted CA Issuer Name="
- + caName.toRFC2253() + " ]";
+ + caName.toString() + " ]";
return "[ Trusted CA Certificate=" + trustedCert + " ]";
}
}