From: Richard Levitte Date: Sun, 5 Jun 2005 21:54:48 +0000 (+0000) Subject: Old typo... X-Git-Tag: OpenSSL_0_9_8k^2~2047 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0b0a60d861e7b13e8a3c1198fbe02585adac023e;p=oweals%2Fopenssl.git Old typo... PR: 1097 --- 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');