From 8a41bcc9346e85c63ab83cd684ea8933a7f1def5 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 5 Jun 2005 21:55:09 +0000 Subject: [PATCH] Old typo... PR: 1097 --- crypto/x509/x509_vfy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.25.1