mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
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
32d21c1ef6
commit
527497a722
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user