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.
This commit is contained in:
parent
6afc70be84
commit
c83d8e2ba6
@ -756,7 +756,7 @@ int X509_cmp_time(ASN1_TIME *ctm, time_t *cmp_time)
|
|||||||
{
|
{
|
||||||
char *str;
|
char *str;
|
||||||
ASN1_TIME atm;
|
ASN1_TIME atm;
|
||||||
time_t offset;
|
long offset;
|
||||||
char buff1[24],buff2[24],*p;
|
char buff1[24],buff2[24],*p;
|
||||||
int i,j;
|
int i,j;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user