mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-21 19:08:31 +00:00
8006853: OCSP timeout set to wrong value if com.sun.security.ocsp.timeout < 0
Reviewed-by: mullan
This commit is contained in:
parent
e161c78dc3
commit
618b36f5eb
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user