summary refs log tree commit diff
path: root/crypto/src/tls/SrpTlsServer.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-05-11 15:05:33 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-05-11 15:05:33 +0700
commitaff809de7530bc424bee096a88f916aa6a728a86 (patch)
tree95a88b75dd9691ff9989ecee6db409b88e0e99ae /crypto/src/tls/SrpTlsServer.cs
parentRegister DTLS 1.3 version number (diff)
downloadBouncyCastle.NET-ed25519-aff809de7530bc424bee096a88f916aa6a728a86.tar.xz
(D)TLS: now defaults to offering (D)TLS 1.2, TLS 13
Diffstat (limited to 'crypto/src/tls/SrpTlsServer.cs')
-rw-r--r--crypto/src/tls/SrpTlsServer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/tls/SrpTlsServer.cs b/crypto/src/tls/SrpTlsServer.cs
index 58f89ee22..1e2f09e03 100644
--- a/crypto/src/tls/SrpTlsServer.cs
+++ b/crypto/src/tls/SrpTlsServer.cs
@@ -44,7 +44,7 @@ namespace Org.BouncyCastle.Tls
 
         protected override ProtocolVersion[] GetSupportedVersions()
         {
-            return ProtocolVersion.TLSv12.DownTo(ProtocolVersion.TLSv10);
+            return ProtocolVersion.TLSv12.Only();
         }
 
         protected override int[] GetSupportedCipherSuites()