]> WPIA git - gigi.git/commitdiff
Fixed: Typos
authorJanis Streib <janis@dogcraft.de>
Mon, 23 Jun 2014 00:27:01 +0000 (02:27 +0200)
committerJanis Streib <janis@dogcraft.de>
Mon, 23 Jun 2014 00:27:01 +0000 (02:27 +0200)
src/org/cacert/gigi/natives/SetUID.java
tests/org/cacert/gigi/TestSSL.java

index 25c97a590f3c26d52f9fd2f4b4c34eb9c51b90cf..e6b0f7cb95901d57dd3a88b18cfbf42b5d65285d 100644 (file)
@@ -3,7 +3,7 @@ package org.cacert.gigi.natives;
 import java.io.File;
 
 /**
- * Native to use privileged ports on unixoide hosts.
+ * Native to use privileged ports on unix-like hosts.
  * 
  * @author janis
  * 
index 2ae757f9e8e129462c3292ff7edcce87a107fad5..b6d95faa26fc040c1e2b4d802326505d4a3e6c59 100644 (file)
@@ -6,11 +6,12 @@ import java.net.InetSocketAddress;
 import java.nio.ByteBuffer;
 import java.nio.channels.SocketChannel;
 import java.security.NoSuchAlgorithmException;
+
 import javax.net.ssl.SSLContext;
 import javax.net.ssl.SSLEngine;
 import javax.net.ssl.SSLEngineResult;
-import javax.net.ssl.SSLException;
 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
+import javax.net.ssl.SSLException;
 
 import org.junit.Test;
 
@@ -44,7 +45,7 @@ public class TestSSL {
                try {
                        work(se, s);
                        throw new Error(
-                                       "Client re-negotiation failed (possible DoS vurnability");
+                                       "Client re-negotiation succeded (possible DoS vulnerability");
                } catch (EOFException e) {
                        // Cool, server closed connection
                }