summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-07-28 19:55:13 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-07-28 19:55:13 +0700
commit42f933608f60af7e9c36ffa3f9150b06b842a6ca (patch)
treea2205364e3f0a77c85dc7633106ba1f7acf238df
parentEnable only psk_dhe_ke by default (diff)
downloadBouncyCastle.NET-ed25519-42f933608f60af7e9c36ffa3f9150b06b842a6ca.tar.xz
Allow IOException from NotifySelectedPsk
-rw-r--r--crypto/src/tls/AbstractTlsClient.cs1
-rw-r--r--crypto/src/tls/TlsClient.cs1
2 files changed, 2 insertions, 0 deletions
diff --git a/crypto/src/tls/AbstractTlsClient.cs b/crypto/src/tls/AbstractTlsClient.cs
index fc62765c8..d5e1925a8 100644
--- a/crypto/src/tls/AbstractTlsClient.cs
+++ b/crypto/src/tls/AbstractTlsClient.cs
@@ -373,6 +373,7 @@ namespace Org.BouncyCastle.Tls
         {
         }
 
+        /// <exception cref="IOException"/>
         public virtual void NotifySelectedPsk(TlsPsk selectedPsk)
         {
         }
diff --git a/crypto/src/tls/TlsClient.cs b/crypto/src/tls/TlsClient.cs
index ef4586574..66bb3bc86 100644
--- a/crypto/src/tls/TlsClient.cs
+++ b/crypto/src/tls/TlsClient.cs
@@ -61,6 +61,7 @@ namespace Org.BouncyCastle.Tls
 
         void NotifySelectedCipherSuite(int selectedCipherSuite);
 
+        /// <exception cref="IOException"/>
         void NotifySelectedPsk(TlsPsk selectedPsk);
 
         /// <summary>The protocol implementation validates that any server extensions received correspond to client