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/src/tls/AbstractTlsPeer.cs | |
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/src/tls/AbstractTlsPeer.cs')
-rw-r--r-- | crypto/src/tls/AbstractTlsPeer.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/src/tls/AbstractTlsPeer.cs b/crypto/src/tls/AbstractTlsPeer.cs index 6d29953ee..4e1b28e58 100644 --- a/crypto/src/tls/AbstractTlsPeer.cs +++ b/crypto/src/tls/AbstractTlsPeer.cs @@ -26,8 +26,7 @@ namespace Org.BouncyCastle.Tls /// <returns>an array of supported <see cref="ProtocolVersion"/> values.</returns> protected virtual ProtocolVersion[] GetSupportedVersions() { - // TODO[tls13] Enable TLSv13 by default in due course - return ProtocolVersion.TLSv12.DownTo(ProtocolVersion.TLSv10); + return ProtocolVersion.TLSv13.DownTo(ProtocolVersion.TLSv12); } protected abstract int[] GetSupportedCipherSuites(); |