diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-07-28 19:54:17 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-07-28 19:54:17 +0700 |
commit | 764e1edcf5ea4d39f243f0ccd77cddbef645b152 (patch) | |
tree | e38810d0cfbebb3ebcb3184bcb13d344d73803b0 /crypto/src/tls/AbstractTlsPeer.cs | |
parent | Set psk_key_exchange_modes extension (diff) | |
download | BouncyCastle.NET-ed25519-764e1edcf5ea4d39f243f0ccd77cddbef645b152.tar.xz |
Enable only psk_dhe_ke by default
Diffstat (limited to '')
-rw-r--r-- | crypto/src/tls/AbstractTlsPeer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/tls/AbstractTlsPeer.cs b/crypto/src/tls/AbstractTlsPeer.cs index 1d730c18e..6d29953ee 100644 --- a/crypto/src/tls/AbstractTlsPeer.cs +++ b/crypto/src/tls/AbstractTlsPeer.cs @@ -83,7 +83,7 @@ namespace Org.BouncyCastle.Tls public virtual short[] GetPskKeyExchangeModes() { - return new short[]{ PskKeyExchangeMode.psk_dhe_ke, PskKeyExchangeMode.psk_ke }; + return new short[]{ PskKeyExchangeMode.psk_dhe_ke }; } public virtual bool RequiresCloseNotify() |