The code change looks fine to me. Thanks for taking care of this.

--Max

> On Feb 26, 2020, at 5:54 PM, Ravi Reddy <ravi.k.re...@oracle.com> wrote:
> 
> Hello All,
>  
> Could you please review this patch. This patch fixes the “Keytool generates 
> wrong expiration date if validity is set to 2050/01/01”.
>  
> This Issue was introduced with fix for 
> https://bugs.openjdk.java.net/browse/JDK-4086008 in jdk-1.2.
> 
> In the fix YR_2050 variable which is introduced to check if the date is JAN01 
> 00:00 2050 GMT has been set to wrong value JAN01 00:00 2050 PST.
> 
> In certificate notBefore and notAfter time are set to either UTC or 
> Generalized time depending on whether time is less than YR_2050 or greater. 
> Since the value of YR_2050 is set wrongly , there is an issue in certificate 
> time also.
>  
> Webrev: http://cr.openjdk.java.net/~pkoppula/ravire/8238452/webrev.00/
> Issue: https://bugs.openjdk.java.net/browse/JDK-8238452
>  
>  
> Thanks,
> Ravi

Reply via email to