diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-05-11 15:05:33 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-05-11 15:05:33 +0700 |
commit | aff809de7530bc424bee096a88f916aa6a728a86 (patch) | |
tree | 95a88b75dd9691ff9989ecee6db409b88e0e99ae /crypto/test | |
parent | Register DTLS 1.3 version number (diff) | |
download | BouncyCastle.NET-ed25519-aff809de7530bc424bee096a88f916aa6a728a86.tar.xz |
(D)TLS: now defaults to offering (D)TLS 1.2, TLS 13
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/src/tls/test/MockDtlsClient.cs | 2 | ||||
-rw-r--r-- | crypto/test/src/tls/test/MockDtlsServer.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/test/src/tls/test/MockDtlsClient.cs b/crypto/test/src/tls/test/MockDtlsClient.cs index 5aa1ebbd3..deef119ca 100644 --- a/crypto/test/src/tls/test/MockDtlsClient.cs +++ b/crypto/test/src/tls/test/MockDtlsClient.cs @@ -109,7 +109,7 @@ namespace Org.BouncyCastle.Tls.Tests protected override ProtocolVersion[] GetSupportedVersions() { - return ProtocolVersion.DTLSv12.DownTo(ProtocolVersion.DTLSv10); + return ProtocolVersion.DTLSv12.Only(); } internal class MyTlsAuthentication diff --git a/crypto/test/src/tls/test/MockDtlsServer.cs b/crypto/test/src/tls/test/MockDtlsServer.cs index 18e53628e..b3ea7f91c 100644 --- a/crypto/test/src/tls/test/MockDtlsServer.cs +++ b/crypto/test/src/tls/test/MockDtlsServer.cs @@ -140,7 +140,7 @@ namespace Org.BouncyCastle.Tls.Tests protected override ProtocolVersion[] GetSupportedVersions() { - return ProtocolVersion.DTLSv12.DownTo(ProtocolVersion.DTLSv10); + return ProtocolVersion.DTLSv12.Only(); } } } |