ASN1_Time coversion to sec

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

ASN1_Time coversion to sec

Gayathri Manoj
Hi All,

How can I convert ASN1_TIME to time_t format?
 or  how can I take difference of current time and the ASN1_TIME

I wanted to convert the return value of X509_get_notAfter() to sec.