From 00809134ca4f89f1493fa11d56ee137b6ee87d72 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 12 Oct 2022 00:09:29 +0700 Subject: Add BcTlsCrypto default constructor --- crypto/src/tls/crypto/impl/bc/BcTlsCrypto.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crypto/src') 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; -- cgit 1.5.1