提交 388393b0 编写于 作者: X xuelei

8017157: catch more exception in test RejectClientRenego

Reviewed-by: vinnie
上级 db6fa7bf
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册