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-09-17 07:29:06 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-09-17 07:29:06 +0400
commite12184a52a16f847f622d335d4301173f1b41d9a (patch)
tree1ae906b72f6c273de42dc00ed8b748c4a02df8a3 /core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
parentf7a703514cfc5ce72da63747193d5efb7005e3ae (diff)
Refactor to use TlsUtils.isSSL
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 a9c0b945..f4d0c443 100644
--- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
+++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java
@@ -510,7 +510,7 @@ public class TlsClientProtocol
* RFC 5746 4.5 SSLv3 clients that refuse renegotiation SHOULD use a fatal
* handshake_failure alert.
*/
- if (getContext().getServerVersion().isSSL())
+ if (TlsUtils.isSSL(getContext()))
{
throw new TlsFatalAlert(AlertDescription.handshake_failure);
}