From: Richard Levitte Date: Sun, 5 Jun 2005 21:55:09 +0000 (+0000) Subject: Old typo... X-Git-Tag: OpenSSL_0_9_8-beta4~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8a41bcc9346e85c63ab83cd684ea8933a7f1def5;p=oweals%2Fopenssl.git Old typo... PR: 1097 --- diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index 637e2b6142..a4a142cd01 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -1079,7 +1079,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');