X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=tests%2Forg%2Fcacert%2Fgigi%2FTestSSL.java;h=b6d95faa26fc040c1e2b4d802326505d4a3e6c59;hp=2ae757f9e8e129462c3292ff7edcce87a107fad5;hb=17a57843eca22e7f789e266fd5325c9dd905e11b;hpb=4f528c2a8ac9c63db3fa78c02b5fbbb7bcb6504f diff --git a/tests/org/cacert/gigi/TestSSL.java b/tests/org/cacert/gigi/TestSSL.java index 2ae757f9..b6d95faa 100644 --- a/tests/org/cacert/gigi/TestSSL.java +++ b/tests/org/cacert/gigi/TestSSL.java @@ -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 }