From 7ea19d8f89633cc940227e94238df0e357ebe054 Mon Sep 17 00:00:00 2001 From: "Brian P. Hinz" Date: Sat, 10 Dec 2016 19:10:37 -0500 Subject: [PATCH] Whitespace cleanup --- .../tigervnc/network/SSLEngineManager.java | 20 +++++++++---------- java/com/tigervnc/vncviewer/Tunnel.java | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/java/com/tigervnc/network/SSLEngineManager.java b/java/com/tigervnc/network/SSLEngineManager.java index c0110995..e6abe3e9 100644 --- a/java/com/tigervnc/network/SSLEngineManager.java +++ b/java/com/tigervnc/network/SSLEngineManager.java @@ -74,7 +74,7 @@ public class SSLEngineManager { hs != SSLEngineResult.HandshakeStatus.NOT_HANDSHAKING) { switch (hs) { - + case NEED_UNWRAP: // Receive handshaking data from peer peerNetData.flip(); @@ -92,26 +92,26 @@ public class SSLEngineManager { peerNetData.flip(); peerNetData.compact(); break; - + case OK: // Process incoming handshaking data break; - + case CLOSED: engine.closeInbound(); break; - + } break; - + case NEED_WRAP: // Empty the local network packet buffer. myNetData.clear(); - + // Generate handshaking data res = engine.wrap(myAppData, myNetData); hs = res.getHandshakeStatus(); - + // Check status switch (res.getStatus()) { case OK: @@ -121,15 +121,15 @@ public class SSLEngineManager { os.flush(); myNetData.clear(); break; - + case BUFFER_OVERFLOW: // FIXME: How much larger should the buffer be? break; - + case CLOSED: engine.closeOutbound(); break; - + } break; diff --git a/java/com/tigervnc/vncviewer/Tunnel.java b/java/com/tigervnc/vncviewer/Tunnel.java index f036c1a5..bb98ec7c 100644 --- a/java/com/tigervnc/vncviewer/Tunnel.java +++ b/java/com/tigervnc/vncviewer/Tunnel.java @@ -179,7 +179,7 @@ public class Tunnel { else jsch.addIdentity(privateKey.getAbsolutePath()); } - + String user = getSshUser(); String label = new String("SSH Authentication"); PasswdDialog dlg = -- 2.39.5