mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-23 13:07:59 +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:
parent
bad22775e9
commit
882d47fb6c
1 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue