diff options
Diffstat (limited to 'src/main/java/org/bouncycastle/asn1/x500/style/IETFUtils.java')
-rw-r--r-- | src/main/java/org/bouncycastle/asn1/x500/style/IETFUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bouncycastle/asn1/x500/style/IETFUtils.java b/src/main/java/org/bouncycastle/asn1/x500/style/IETFUtils.java index 91a4ec9e..0cbad08e 100644 --- a/src/main/java/org/bouncycastle/asn1/x500/style/IETFUtils.java +++ b/src/main/java/org/bouncycastle/asn1/x500/style/IETFUtils.java @@ -100,7 +100,7 @@ public class IETFUtils { while (buf.charAt(buf.length() - 1) == ' ' && lastEscaped != (buf.length() - 1)) { - buf.deleteCharAt(buf.length() - 1); + buf.setLength(buf.length() - 1); } } |