diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-09-17 07:29:06 +0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-09-17 07:29:06 +0400 |
commit | e12184a52a16f847f622d335d4301173f1b41d9a (patch) | |
tree | 1ae906b72f6c273de42dc00ed8b748c4a02df8a3 /core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java | |
parent | f7a703514cfc5ce72da63747193d5efb7005e3ae (diff) |
Refactor to use TlsUtils.isSSL
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java b/core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java index dda8e95b..dec135f2 100644 --- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java +++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsServerProtocol.java @@ -347,7 +347,7 @@ public class TlsServerProtocol * SSL 3.0 If the server has sent a certificate request Message, the client must send * either the certificate message or a no_certificate alert. */ - if (getContext().getServerVersion().isSSL() && certificateRequest != null) + if (TlsUtils.isSSL(getContext()) && certificateRequest != null) { notifyClientCertificate(Certificate.EMPTY_CHAIN); } |