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,
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to