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

crypto/x509/x509_vfy.c

index db12f7bd35eb0ac4760a5e0282c699584ee3a07b..552d1e72516ea191cb78f0d2269dfc6a0d8f9d4a 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;