summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src')
-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;