projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc40153
)
PR: 2606
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 23 Sep 2011 13:40:06 +0000
(13:40 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 23 Sep 2011 13:40:06 +0000
(13:40 +0000)
Submitted by: Christoph Viethen <cv@kawo2.rwth-aachen.de>
Reviewed by: steve
Handle timezones correctly in UTCTime.
crypto/x509/x509_vfy.c
patch
|
blob
|
history
diff --git
a/crypto/x509/x509_vfy.c
b/crypto/x509/x509_vfy.c
index aeb6337688d480debdc6ac5053f256a19a7c0f04..b92758480548c8ce8c54e4eafebece2b29aa8565 100644
(file)
--- a/
crypto/x509/x509_vfy.c
+++ b/
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)