git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@831106
13f79535-47bb-0310-9956-
ffa450edef68
processor.action(ActionCode.ACTION_START, null);
- if (proto.ep.getSecure() && (proto.sslImplementation != null)) {
+ if (proto.ep.isSSLEnabled() && (proto.sslImplementation != null)) {
if (socket instanceof SecureNioChannel) {
SecureNioChannel ch = (SecureNioChannel)socket;
processor.setSslSupport(proto.sslImplementation.getSSLSupport(ch.getSslEngine().getSession()));
processor.action(ActionCode.ACTION_START, null);
- if (proto.secure && (proto.sslImplementation != null)) {
+ if (proto.isSSLEnabled() && (proto.sslImplementation != null)) {
processor.setSSLSupport
(proto.sslImplementation.getSSLSupport(socket.getSocket()));
} else {