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
path: root/core/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-04-15 12:55:44 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-04-15 12:55:44 +0400
commit56e63e21b83fe0c854db7c6c6ff8e90c68a4accb (patch)
tree0ca1b845c39b398eee39867375f47ad23250cc4f /core/src
parent2f6c03f41a3f4b338083f77ab6896811f10f91a7 (diff)
Move test servers back to TLS 1.2 for the moment
Diffstat (limited to 'core/src')
-rw-r--r--core/src/test/java/org/bouncycastle/crypto/tls/test/MockDTLSServer.java2
-rw-r--r--core/src/test/java/org/bouncycastle/crypto/tls/test/MockTlsServer.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/core/src/test/java/org/bouncycastle/crypto/tls/test/MockDTLSServer.java b/core/src/test/java/org/bouncycastle/crypto/tls/test/MockDTLSServer.java
index fdbb84f1..c93c9def 100644
--- a/core/src/test/java/org/bouncycastle/crypto/tls/test/MockDTLSServer.java
+++ b/core/src/test/java/org/bouncycastle/crypto/tls/test/MockDTLSServer.java
@@ -97,7 +97,7 @@ public class MockDTLSServer
protected ProtocolVersion getMaximumVersion()
{
- return ProtocolVersion.DTLSv12;
+ return ProtocolVersion.DTLSv10;
}
protected ProtocolVersion getMinimumVersion()
diff --git a/core/src/test/java/org/bouncycastle/crypto/tls/test/MockTlsServer.java b/core/src/test/java/org/bouncycastle/crypto/tls/test/MockTlsServer.java
index 45d7b093..8753ebf7 100644
--- a/core/src/test/java/org/bouncycastle/crypto/tls/test/MockTlsServer.java
+++ b/core/src/test/java/org/bouncycastle/crypto/tls/test/MockTlsServer.java
@@ -57,10 +57,10 @@ class MockTlsServer
});
}
- protected ProtocolVersion getMaximumVersion()
- {
- return ProtocolVersion.TLSv12;
- }
+// protected ProtocolVersion getMaximumVersion()
+// {
+// return ProtocolVersion.TLSv12;
+// }
public ProtocolVersion getServerVersion() throws IOException
{