提交 7861d56a 编写于 作者: X xuelei

8031566: regression test failure, SSLEngineBadBufferArrayAccess.java

Reviewed-by: mullan
上级 4786e99e
......@@ -148,14 +148,14 @@ public class SSLEngineBadBufferArrayAccess {
"SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" };
for (String protocol : protocols) {
log("Testing " + protocol);
/*
* Run the tests with direct and indirect buffers.
*/
SSLEngineBadBufferArrayAccess test =
new SSLEngineBadBufferArrayAccess(protocol);
test.runTest(true);
test.runTest(false);
log("Testing " + protocol + ":true");
new SSLEngineBadBufferArrayAccess(protocol).runTest(true);
log("Testing " + protocol + ":false");
new SSLEngineBadBufferArrayAccess(protocol).runTest(false);
}
System.out.println("Test Passed.");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册