summary refs log tree commit diff
path: root/crypto/src/tls
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-10-12 00:09:29 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-10-12 00:09:29 +0700
commit00809134ca4f89f1493fa11d56ee137b6ee87d72 (patch)
tree2541aa946de6cebe06d9e3ee2e12f478c39270ed /crypto/src/tls
parentChange method names in IXof (diff)
downloadBouncyCastle.NET-ed25519-00809134ca4f89f1493fa11d56ee137b6ee87d72.tar.xz
Add BcTlsCrypto default constructor
Diffstat (limited to 'crypto/src/tls')
-rw-r--r--crypto/src/tls/crypto/impl/bc/BcTlsCrypto.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/tls/crypto/impl/bc/BcTlsCrypto.cs b/crypto/src/tls/crypto/impl/bc/BcTlsCrypto.cs
index a4964c4b3..66f47c091 100644
--- a/crypto/src/tls/crypto/impl/bc/BcTlsCrypto.cs
+++ b/crypto/src/tls/crypto/impl/bc/BcTlsCrypto.cs
@@ -27,6 +27,11 @@ namespace Org.BouncyCastle.Tls.Crypto.Impl.BC
     {
         private readonly SecureRandom m_entropySource;
 
+        public BcTlsCrypto()
+            : this(new SecureRandom())
+        {
+        }
+
         public BcTlsCrypto(SecureRandom entropySource)
         {
             this.m_entropySource = entropySource;