[openssl-dev] ASN1_UTCTIME_cmp_time_t behavior changed from 0.9.8 to 1.0.2 ?
Susumu Sai
susumu.sai_2011 at yahoo.com
Tue Mar 24 19:33:03 UTC 2015
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?
Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20150324/b6a3f3f1/attachment.html>
More information about the openssl-dev
mailing list