提交 e0757c0b 编写于 作者: J juh

8006853: OCSP timeout set to wrong value if com.sun.security.ocsp.timeout < 0

Reviewed-by: mullan
上级 b5100569
......@@ -89,7 +89,7 @@ public final class OCSP {
new GetIntegerAction("com.sun.security.ocsp.timeout",
DEFAULT_CONNECT_TIMEOUT));
if (tmp < 0) {
tmp = DEFAULT_CONNECT_TIMEOUT;
return DEFAULT_CONNECT_TIMEOUT;
}
// Convert to milliseconds, as the system property will be
// specified in seconds
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册