[openssl-users] ASN1_TIME to time_t

Dmitry Belyavsky beldmit at gmail.com
Wed Sep 6 08:20:37 UTC 2017


Dear Matt,

On Wed, Sep 6, 2017 at 11:16 AM, Matt Caswell <matt at openssl.org> 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?


-- 
SY, Dmitry Belyavsky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20170906/6ea01557/attachment.html>


More information about the openssl-users mailing list