Mercurial > hg > release > icedtea7-forest-2.1 > jdk
changeset 4971:66420635ccfc
8014968: OCSP and CRL connection timeout is set to four hours by default
Reviewed-by: mullan
author | ngthomas |
---|---|
date | Tue, 21 May 2013 10:25:40 -0700 |
parents | c655aca607b1 |
children | 94b16322eb0b |
files | src/share/classes/sun/security/provider/certpath/OCSP.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/sun/security/provider/certpath/OCSP.java Wed Jun 26 22:30:32 2013 -0500 +++ b/src/share/classes/sun/security/provider/certpath/OCSP.java Tue May 21 10:25:40 2013 -0700 @@ -84,7 +84,7 @@ Integer tmp = java.security.AccessController.doPrivileged( new GetIntegerAction("com.sun.security.ocsp.timeout")); if (tmp == null || tmp < 0) { - tmp = DEFAULT_CONNECT_TIMEOUT; + return DEFAULT_CONNECT_TIMEOUT; } // Convert to milliseconds, as the system property will be // specified in seconds