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:08 +0000 (13:04 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 18 Nov 2002 13:04:08 +0000 (13:04 +0000)
Epoch.  offset isn't such a measurement, so let's stop pretend it is.

crypto/x509/x509_vfy.c

index db12f7b..552d1e7 100644 (file)
@@ -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;