In which library is that gettime() function in? I did not find it.
 (I did not find it in any C library)

Joe

On 1/28/06, Kyle Hamilton <[EMAIL PROTECTED]> wrote:
> time_t (such as that returned by gettime() and friends) are always
> supposed to be in GMT, unaffected by timezone settings.  That's
> something that a lot of people end up misconfiguring on their systems.
>
> On 1/27/06, Joe Gluck <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I have a certificate with dates represented as GMT time.
> >
> > I am trying to get those times as GMT in a time_t format, is this ok?
> >
> > ASN1_TIME * not_after;
> > time_t expire;
> >
> > not_after = X509_get_notAfter(cert); // cert is a X509 object
> > expire = ASN1_UTCTIME_get(not_after);
> >
> > will the "expire" hold the expiration time in GMT?
> >
> > BTW the ASN1_UTCTIME_get() is in a "#ifdef 0" does any one know why?
> >
> > Thanks
> >
> > Joe
> > ______________________________________________________________________
> > OpenSSL Project                                 http://www.openssl.org
> > Development Mailing List                       openssl-dev@openssl.org
> > Automated List Manager                           [EMAIL PROTECTED]
> >
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       openssl-dev@openssl.org
> Automated List Manager                           [EMAIL PROTECTED]
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to