summary refs log tree commit diff
path: root/crypto/src/tls
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-10-18 01:39:56 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-10-18 01:39:56 +0700
commit414380883367c5bb2d250da5937f44f742cba281 (patch)
tree19c82f09c3f6eca73085bf1bc0a953e026dde71b /crypto/src/tls
parent.NET 1.1 fixes (diff)
downloadBouncyCastle.NET-ed25519-414380883367c5bb2d250da5937f44f742cba281.tar.xz
PORTABLE fixes
Diffstat (limited to 'crypto/src/tls')
-rw-r--r--crypto/src/tls/HandshakeMessageInput.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/src/tls/HandshakeMessageInput.cs b/crypto/src/tls/HandshakeMessageInput.cs
index c15112cc0..8d9a291d7 100644
--- a/crypto/src/tls/HandshakeMessageInput.cs
+++ b/crypto/src/tls/HandshakeMessageInput.cs
@@ -13,7 +13,11 @@ namespace Org.BouncyCastle.Tls
         private readonly int m_offset;
 
         internal HandshakeMessageInput(byte[] buf, int offset, int length)
+#if PORTABLE
+            : base(buf, offset, length, false)
+#else
             : base(buf, offset, length, false, true)
+#endif
         {
 #if PORTABLE
             this.m_offset = 0;