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:
efb4162
)
Correct time in seconds instead of minutes.
author
Ben Laurie
<ben@openssl.org>
Fri, 11 Feb 2000 16:08:40 +0000
(16:08 +0000)
committer
Ben Laurie
<ben@openssl.org>
Fri, 11 Feb 2000 16:08:40 +0000
(16:08 +0000)
crypto/x509/x509_vfy.c
patch
|
blob
|
history
diff --git
a/crypto/x509/x509_vfy.c
b/crypto/x509/x509_vfy.c
index c779dab376534f2efd23a5e094ecf3db04d64636..ec25cf8d85e91353fccb1061a1681ea32b32327b 100644
(file)
--- a/
crypto/x509/x509_vfy.c
+++ b/
crypto/x509/x509_vfy.c
@@
-536,7
+536,7
@@
int X509_cmp_current_time(ASN1_UTCTIME *ctm)
atm.length=sizeof(buff2);
atm.data=(unsigned char *)buff2;
- X509_gmtime_adj(&atm,-offset);
+ X509_gmtime_adj(&atm,-offset
*60
);
i=(buff1[0]-'0')*10+(buff1[1]-'0');
if (i < 50) i+=100; /* cf. RFC 2459 */