]> source.dussan.org Git - tigervnc.git/commitdiff
Whitespace cleanup
authorBrian P. Hinz <bphinz@users.sf.net>
Sun, 11 Dec 2016 00:10:37 +0000 (19:10 -0500)
committerBrian P. Hinz <bphinz@users.sf.net>
Sun, 11 Dec 2016 00:10:37 +0000 (19:10 -0500)
java/com/tigervnc/network/SSLEngineManager.java
java/com/tigervnc/vncviewer/Tunnel.java

index c0110995663016d9ad403c1ec6086fe7c8c4a703..e6abe3e9798db700f46288cdf1878e71facfeb85 100644 (file)
@@ -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;
 
index f036c1a5d4b1bbeb1f11910fa8b421bca97e5610..bb98ec7c3d3e4051b53bcf7ba69bf923570356a1 100644 (file)
@@ -179,7 +179,7 @@ public class Tunnel {
           else
                jsch.addIdentity(privateKey.getAbsolutePath());
       }
-  
+
       String user = getSshUser();
       String label = new String("SSH Authentication");
       PasswdDialog dlg =