Revision: 47ecf24c345a
Author: Jean Deruelle <[email protected]>
Date: Thu Dec 6 14:33:13 2012
Log: Fixing Inbound Connections TLS Handshake failing for DisabledAll
http://code.google.com/p/sipservlets/source/detail?r=47ecf24c345a
Modified:
/jain-sip-170.x/src/gov/nist/javax/sip/stack/TLSMessageChannel.java
=======================================
--- /jain-sip-170.x/src/gov/nist/javax/sip/stack/TLSMessageChannel.java Mon
Dec 3 18:06:27 2012
+++ /jain-sip-170.x/src/gov/nist/javax/sip/stack/TLSMessageChannel.java Thu
Dec 6 14:33:13 2012
@@ -108,7 +108,7 @@
mySock = (SSLSocket) sock;
if (sock instanceof SSLSocket) {
SSLSocket sslSock = (SSLSocket) sock;
- if(sipStack.getClientAuth() != ClientAuthType.Want &&
sipStack.getClientAuth() != ClientAuthType.Disabled) {
+ if(sipStack.getClientAuth() != ClientAuthType.Want &&
sipStack.getClientAuth() != ClientAuthType.Disabled &&
sipStack.getClientAuth() != ClientAuthType.DisabledAll) {
sslSock.setNeedClientAuth(true);
}
if(logger.isLoggingEnabled(StackLogger.TRACE_DEBUG)) {