A variable of type time_t is supposed to be a time measurement starting at
authorRichard Levitte <levitte@openssl.org>
Mon, 18 Nov 2002 13:04:54 +0000 (13:04 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 18 Nov 2002 13:04:54 +0000 (13:04 +0000)
Epoch.  offset isn't such a measurement, so let's stop pretend it is.

crypto/x509/x509_vfy.c

index 7a3009224777e7f953f466ff30ae9bf4b5561734..9ad9276ff76b9bd7ad5c599cab45069e5a0b629a 100644 (file)
@@ -567,7 +567,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;