Old typo...
PR: 1097
This commit is contained in:
parent
e2414b41ad
commit
8a41bcc934
@ -1079,7 +1079,7 @@ int X509_cmp_time(ASN1_TIME *ctm, time_t *cmp_time)
|
|||||||
offset=0;
|
offset=0;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ((*str != '+') && (str[5] != '-'))
|
if ((*str != '+') && (*str != '-'))
|
||||||
return 0;
|
return 0;
|
||||||
offset=((str[1]-'0')*10+(str[2]-'0'))*60;
|
offset=((str[1]-'0')*10+(str[2]-'0'))*60;
|
||||||
offset+=(str[3]-'0')*10+(str[4]-'0');
|
offset+=(str[3]-'0')*10+(str[4]-'0');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user