summary refs log tree commit diff
path: root/crypto/src/asn1/x500
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2019-08-01 20:21:37 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2019-08-01 20:21:37 +0700
commit655bca08d85db23f6df082603713b5885cef2634 (patch)
treed94f4bac8635ec72886d1d147ae8def30bfbfc35 /crypto/src/asn1/x500
parentInline BuildEncodableVector to shrink recursive call stacks (diff)
downloadBouncyCastle.NET-ed25519-655bca08d85db23f6df082603713b5885cef2634.tar.xz
PCL fixes
Diffstat (limited to 'crypto/src/asn1/x500')
-rw-r--r--crypto/src/asn1/x500/style/IetfUtilities.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/x500/style/IetfUtilities.cs b/crypto/src/asn1/x500/style/IetfUtilities.cs
index e3236aaec..2c0ab45bc 100644
--- a/crypto/src/asn1/x500/style/IetfUtilities.cs
+++ b/crypto/src/asn1/x500/style/IetfUtilities.cs
@@ -33,7 +33,7 @@ namespace Org.BouncyCastle.Asn1.X500.Style
                 }
                 catch (IOException e)
                 {
-                    throw new ArgumentException("Other value has no encoded form", "value", e);
+                    throw new ArgumentException("Other value has no encoded form", e);
                 }
             }
 
@@ -85,7 +85,7 @@ namespace Org.BouncyCastle.Asn1.X500.Style
 
             while (endBuf >= 0 && vBuf[endBuf] == ' ')
             {
-                vBuf.Insert(endBuf, '\\');
+                vBuf.Insert(endBuf, "\\");
                 endBuf--;
             }