Re: ASN1_TIME to time_t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: openssl-users [mailto:openssl-users-bounces@xxxxxxxxxxx] On Behalf
> Of Jakob Bohm
> Sent: Wednesday, September 06, 2017 09:27
> 
> On 06/09/2017 14:17, Michael Wojcik wrote:
> 
> > struct tm is local time, so you need to adjust for timezone.
>
> It's not as much struct tm, as it is the mktime() API.

Of course you're right.

>  If available, try the BSD/GNU API timegm(), although that is
> officially "obsolete".

We need much wider platform compatibility. It's not a big deal, though.

-- 
Michael Wojcik 
Distinguished Engineer, Micro Focus 



-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux