mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 13:03:39 +08:00
Old typo...
PR: 1097
This commit is contained in:
parent
9e5b378081
commit
0b0a60d861
@ -1081,7 +1081,7 @@ int X509_cmp_time(ASN1_TIME *ctm, time_t *cmp_time)
|
||||
offset=0;
|
||||
else
|
||||
{
|
||||
if ((*str != '+') && (str[5] != '-'))
|
||||
if ((*str != '+') && (*str != '-'))
|
||||
return 0;
|
||||
offset=((str[1]-'0')*10+(str[2]-'0'))*60;
|
||||
offset+=(str[3]-'0')*10+(str[4]-'0');
|
||||
|
Loading…
Reference in New Issue
Block a user