This commit is contained in:
Mike Duigou 2013-06-20 08:21:08 -07:00
commit eb4f6b52dd

View File

@ -131,7 +131,7 @@ public class RejectClientRenego implements
sslOS.flush();
}
throw new Exception("Not reject client initialized renegotiation");
} catch (SSLHandshakeException she) {
} catch (IOException ioe) {
System.out.println("Got the expected exception");
} finally {
sslSocket.close();
@ -181,7 +181,7 @@ public class RejectClientRenego implements
sslIS.read();
}
throw new Exception("Not reject client initialized renegotiation");
} catch (SSLHandshakeException she) {
} catch (IOException ioe) {
System.out.println("Got the expected exception");
} finally {
sslSocket.close();