Try this one ASN1_UTCTIME_get
Hi, I want to store certificates in database (Oracle) and I want to have expiration time of certificates stored in DATE column, but I did not find a function that converts ASN1_TIME to time_t or struct tm. Is there such a function? And I want to ask if the expiration time is always stored as GMT time? Thanks Vladimir Chovanec ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]