On Tue, Mar 24, 2015, Susumu Sai wrote:

>         time_t t;
>         time(&t);
> 
>         ASN1_TIME *tmptm = ASN1_TIME_new();
>         X509_gmtime_adj(tmptm, 0);
> 
>         // ? With 0.9.8, the return value ret = 1 
>         // ? With 1.0.2, the return value ret = -1
>         int ret = ASN1_UTCTIME_cmp_time_t(tmptm, t);
> 
> 0.9.8 and 1.0.2 return different values. Is this as expected?

This is a bug in 1.0.2 which is fixed in 1.0.2a.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to