changeset 6029:415182744480

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 9603e9d828c4
children 39282f162343
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	Fri May 17 14:29:51 2013 -0700
+++ b/src/share/classes/sun/security/provider/certpath/OCSP.java	Tue May 21 10:25:40 2013 -0700
@@ -83,7 +83,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