From 882d47fb6cdb8645064205014f079007d4f669be Mon Sep 17 00:00:00 2001 From: Daniel Henninger Date: Tue, 4 Dec 2007 03:14:32 +0000 Subject: [PATCH] Silenced some stderr messages. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9552 b35dd754-fafc-0310-a699-88a17e54d16e --- .../jivesoftware/smack/XMPPConnection.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/source/org/jivesoftware/smack/XMPPConnection.java b/source/org/jivesoftware/smack/XMPPConnection.java index f26b2076f..d2400de01 100644 --- a/source/org/jivesoftware/smack/XMPPConnection.java +++ b/source/org/jivesoftware/smack/XMPPConnection.java @@ -1310,7 +1310,7 @@ public class XMPPConnection { if(callbackHandler == null) { ks = null; } else { - System.out.println("Keystore type: "+configuration.getKeystoreType()); + //System.out.println("Keystore type: "+configuration.getKeystoreType()); if(configuration.getKeystoreType().equals("NONE")) { ks = null; pcb = null; @@ -1369,15 +1369,15 @@ public class XMPPConnection { initReaderAndWriter(); // Proceed to do the handshake ((SSLSocket) socket).startHandshake(); - if (((SSLSocket) socket).getWantClientAuth()) { - System.err.println("Connection wants client auth"); - } - else if (((SSLSocket) socket).getNeedClientAuth()) { - System.err.println("Connection needs client auth"); - } - else { - System.err.println("Connection does not requrie client auth"); - } + //if (((SSLSocket) socket).getWantClientAuth()) { + // System.err.println("Connection wants client auth"); + //} + //else if (((SSLSocket) socket).getNeedClientAuth()) { + // System.err.println("Connection needs client auth"); + //} + //else { + // System.err.println("Connection does not require client auth"); + // } // Set that TLS was successful usingTLS = true;