From: Richard Levitte Date: Mon, 18 Nov 2002 13:04:29 +0000 (+0000) Subject: A variable of type time_t is supposed to be a time measurement starting at X-Git-Tag: OpenSSL_0_9_7-beta4~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c83d8e2ba62c2ad3a4e71a2776a215a2df5dde0f;p=oweals%2Fopenssl.git A variable of type time_t is supposed to be a time measurement starting at Epoch. offset isn't such a measurement, so let's stop pretend it is. --- diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index db12f7bd35..552d1e7251 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -756,7 +756,7 @@ int X509_cmp_time(ASN1_TIME *ctm, time_t *cmp_time) { char *str; ASN1_TIME atm; - time_t offset; + long offset; char buff1[24],buff2[24],*p; int i,j;