summary refs log tree commit diff
path: root/crypto/src/tls/SrpTlsClient.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/SrpTlsClient.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/SrpTlsClient.cs')
-rw-r--r--crypto/src/tls/SrpTlsClient.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/tls/SrpTlsClient.cs b/crypto/src/tls/SrpTlsClient.cs
index a2b0e9461..f6f6472bc 100644
--- a/crypto/src/tls/SrpTlsClient.cs
+++ b/crypto/src/tls/SrpTlsClient.cs
@@ -34,7 +34,7 @@ namespace Org.BouncyCastle.Tls
 
         protected override ProtocolVersion[] GetSupportedVersions()
         {
-            return ProtocolVersion.TLSv12.DownTo(ProtocolVersion.TLSv10);
+            return ProtocolVersion.TLSv12.Only();
         }
 
         protected virtual bool RequireSrpServerExtension