In message <[EMAIL PROTECTED]> on Mon, 18 Nov 2002 
22:24:18 +1100, "Steven Reddie" <[EMAIL PROTECTED]> said:

smr> Since I'm using the MSVC++ /W3 /WX options (max warnings, treat warnings as
smr> errors), the following two numbered lines in x509_vfy.c are giving errors:
smr>         time_t offset;
smr>    807: offset= -offset;
smr>    813: X509_time_adj(&atm,-offset*60, cmp_time);

Hmm, and now I realise I've been staring too much at 'time_t' without
looking at the rest of the code there.  offset isn't a measurement of
time since Epoch, so it's an error to pretend it's a time_t.  You're
absolutely correct in saying it should be a long.

Sorry for all the misdirected fuss...

BTW, did you not ask me about some function that calculates the
difference between to time_ts?  That function is difftime(), and it
returns a double.

-- 
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to