OpenJDK / jdk-updates / jdk12u
changeset 16044:85f90a877d17
8006853: OCSP timeout set to wrong value if com.sun.security.ocsp.timeout < 0
Reviewed-by: mullan
author | juh |
---|---|
date | Thu, 28 Feb 2013 16:36:01 -0800 |
parents | 0c9424895efb |
children | 9d08c3b9a6a0 |
files | jdk/src/share/classes/sun/security/provider/certpath/OCSP.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/src/share/classes/sun/security/provider/certpath/OCSP.java Thu Feb 28 12:39:29 2013 +0000 +++ b/jdk/src/share/classes/sun/security/provider/certpath/OCSP.java Thu Feb 28 16:36:01 2013 -0800 @@ -89,7 +89,7 @@ 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