summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-06-05 21:54:48 +0000
committerRichard Levitte <levitte@openssl.org>2005-06-05 21:54:48 +0000
commit0b0a60d861e7b13e8a3c1198fbe02585adac023e (patch)
tree4ba9fdcee5bdaae1af468f789a1010aa2091020c /crypto/x509
parent9e5b378081f288aec64f87261acff8639fd0d0eb (diff)
Old typo...
PR: 1097
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509_vfy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c
index 5711367232..79dae3d3bf 100644
--- a/crypto/x509/x509_vfy.c
+++ b/crypto/x509/x509_vfy.c
@@ -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');