summary refs log tree commit diff
path: root/crypto/src/tls
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-07-28 19:54:17 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-07-28 19:54:17 +0700
commit764e1edcf5ea4d39f243f0ccd77cddbef645b152 (patch)
treee38810d0cfbebb3ebcb3184bcb13d344d73803b0 /crypto/src/tls
parentSet psk_key_exchange_modes extension (diff)
downloadBouncyCastle.NET-ed25519-764e1edcf5ea4d39f243f0ccd77cddbef645b152.tar.xz
Enable only psk_dhe_ke by default
Diffstat (limited to 'crypto/src/tls')
-rw-r--r--crypto/src/tls/AbstractTlsPeer.cs2
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()