1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-23 06:42:05 +01:00

Silenced some stderr messages.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9552 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Daniel Henninger 2007-12-04 03:14:32 +00:00 committed by dhenninger
parent bad22775e9
commit 882d47fb6c

View file

@ -1310,7 +1310,7 @@ public class XMPPConnection {
if(callbackHandler == null) { if(callbackHandler == null) {
ks = null; ks = null;
} else { } else {
System.out.println("Keystore type: "+configuration.getKeystoreType()); //System.out.println("Keystore type: "+configuration.getKeystoreType());
if(configuration.getKeystoreType().equals("NONE")) { if(configuration.getKeystoreType().equals("NONE")) {
ks = null; ks = null;
pcb = null; pcb = null;
@ -1369,15 +1369,15 @@ public class XMPPConnection {
initReaderAndWriter(); initReaderAndWriter();
// Proceed to do the handshake // Proceed to do the handshake
((SSLSocket) socket).startHandshake(); ((SSLSocket) socket).startHandshake();
if (((SSLSocket) socket).getWantClientAuth()) { //if (((SSLSocket) socket).getWantClientAuth()) {
System.err.println("Connection wants client auth"); // System.err.println("Connection wants client auth");
} //}
else if (((SSLSocket) socket).getNeedClientAuth()) { //else if (((SSLSocket) socket).getNeedClientAuth()) {
System.err.println("Connection needs client auth"); // System.err.println("Connection needs client auth");
} //}
else { //else {
System.err.println("Connection does not requrie client auth"); // System.err.println("Connection does not require client auth");
} // }
// Set that TLS was successful // Set that TLS was successful
usingTLS = true; usingTLS = true;