summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/x509
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-06-27 18:44:36 +0000
committerjkim <jkim@FreeBSD.org>2012-06-27 18:44:36 +0000
commit299ab12592ee76c1d23012fb680eb3de3047a332 (patch)
treeeec54a5ed50326dd4ab254bab7df3b566651ac6d /crypto/openssl/crypto/x509
parenta461bd15071993dd2121ed8ddfaee9fef880cd56 (diff)
downloadFreeBSD-src-299ab12592ee76c1d23012fb680eb3de3047a332.zip
FreeBSD-src-299ab12592ee76c1d23012fb680eb3de3047a332.tar.gz
Merge OpenSSL 0.9.8x.
Reviewed by: stas Approved by: benl (maintainer) MFC after: 3 days
Diffstat (limited to 'crypto/openssl/crypto/x509')
-rw-r--r--crypto/openssl/crypto/x509/x509_vfy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/x509/x509_vfy.c b/crypto/openssl/crypto/x509/x509_vfy.c
index aeb6337..b927584 100644
--- a/crypto/openssl/crypto/x509/x509_vfy.c
+++ b/crypto/openssl/crypto/x509/x509_vfy.c
@@ -1097,7 +1097,7 @@ int X509_cmp_time(ASN1_TIME *ctm, time_t *cmp_time)
atm.length=sizeof(buff2);
atm.data=(unsigned char *)buff2;
- if (X509_time_adj(&atm,-offset*60, cmp_time) == NULL)
+ if (X509_time_adj(&atm, offset*60, cmp_time) == NULL)
return 0;
if (ctm->type == V_ASN1_UTCTIME)
OpenPOWER on IntegriCloud