changeset 5399:13df44d15f22

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 a0a8f7054efa
children e76a01af033c
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