On 06/09/17 09:20, Dmitry Belyavsky wrote: > Dear Matt, > > On Wed, Sep 6, 2017 at 11:16 AM, Matt Caswell <matt@xxxxxxxxxxx > <mailto:matt@xxxxxxxxxxx>> wrote: > > > > On 06/09/17 09:12, Dmitry Belyavsky wrote: > > Hello, > > > > Is there a way to convert ASN1_TIME to time_t or smth compatible? Quick > > googling does not show good results. > > In master you can use ASN1_TIME_to_tm() which will give you a struct tm. > Not available in released versions yet though. > > > Is it implementable via API in 1.0.2? Probably (not checked in detail), but you'd have to copy the implementation into your code. See asn1_time_to_tm() in crypto/asn1/a_time.c in master. Matt -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users