From: Brian P. Hinz Date: Sun, 11 Dec 2016 00:10:37 +0000 (-0500) Subject: Whitespace cleanup X-Git-Tag: v1.7.90~67^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7ea19d8f89633cc940227e94238df0e357ebe054;p=tigervnc.git Whitespace cleanup --- 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 =