提交 f5ab48bd 编写于 作者: M mduigou

Merge

...@@ -131,7 +131,7 @@ public class RejectClientRenego implements ...@@ -131,7 +131,7 @@ public class RejectClientRenego implements
sslOS.flush(); sslOS.flush();
} }
throw new Exception("Not reject client initialized renegotiation"); throw new Exception("Not reject client initialized renegotiation");
} catch (SSLHandshakeException she) { } catch (IOException ioe) {
System.out.println("Got the expected exception"); System.out.println("Got the expected exception");
} finally { } finally {
sslSocket.close(); sslSocket.close();
...@@ -181,7 +181,7 @@ public class RejectClientRenego implements ...@@ -181,7 +181,7 @@ public class RejectClientRenego implements
sslIS.read(); sslIS.read();
} }
throw new Exception("Not reject client initialized renegotiation"); throw new Exception("Not reject client initialized renegotiation");
} catch (SSLHandshakeException she) { } catch (IOException ioe) {
System.out.println("Got the expected exception"); System.out.println("Got the expected exception");
} finally { } finally {
sslSocket.close(); sslSocket.close();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册