From c5098ee16f9d4ae6cc13bb61395f0bd21df717e2 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 5 Jun 2005 21:54:59 +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 e43c861ee7..383e082aba 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -944,7 +944,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