diff options
author | Ben Laurie <ben@openssl.org> | 2000-02-11 16:08:40 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2000-02-11 16:08:40 +0000 |
commit | b1f8affbd5d480b28aa5a2dda324bdd74a49f421 (patch) | |
tree | fb075615d045daf5cb04b0f3ab2ee2ecc3b8d184 /crypto/x509 | |
parent | efb416299fee5d59ffb0290686d306dd061bab1d (diff) | |
download | openssl-b1f8affbd5d480b28aa5a2dda324bdd74a49f421.tar.gz |
Correct time in seconds instead of minutes.
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/x509_vfy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index c779dab376..ec25cf8d85 100644 --- 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 */ |