Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2013-07-17 08:36:50 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-07-17 08:36:50 +0400
commit53d17ef99e30c6bd49e6eec9235e3eefca6a222d (patch)
tree38ccffc09dbb54ec9f0bbbd908b0223c8990fecc /core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
parent66ef4be45d1e96cf4b21e180ebc9e84cc6c1f064 (diff)
For compatibility with latest GnuTLS/OpenSSL, just ignore any server
extensions sent for a resumed session (instead of raising fatal alert).
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java')
-rw-r--r--core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java b/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
index a1df0e33..0c35d489 100644
--- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
+++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
@@ -651,7 +651,7 @@ public class TlsClientProtocol
{
// TODO[compat-gnutls] GnuTLS test server sends server extensions e.g. ec_point_formats
// TODO[compat-openssl] OpenSSL test server sends server extensions e.g. ec_point_formats
- throw new TlsFatalAlert(AlertDescription.illegal_parameter);
+// throw new TlsFatalAlert(AlertDescription.illegal_parameter);
}
/*