summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/crypto/x509v3/v3_scts.c
diff options
context:
space:
mode:
authorShigeki Ohtsu <ohtsu@ohtsu.org>2017-12-07 22:54:50 +0900
committerMyles Borins <mylesborins@google.com>2017-12-07 13:15:51 -0500
commit53e3277375edc0faa034919b829e0c59572ceb17 (patch)
tree6ceb7f030148725b71b41332c15283abe39ca708 /deps/openssl/openssl/crypto/x509v3/v3_scts.c
parent0bc10b04726959ddf78beed13a4e462837a0d402 (diff)
downloadandroid-node-v8-53e3277375edc0faa034919b829e0c59572ceb17.tar.gz
android-node-v8-53e3277375edc0faa034919b829e0c59572ceb17.tar.bz2
android-node-v8-53e3277375edc0faa034919b829e0c59572ceb17.zip
deps: upgrade openssl sources to 1.0.2n
This replaces all sources of openssl-1.0.2n.tar.gz into deps/openssl/openssl PR-URL: https://github.com/nodejs/node/pull/17526 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'deps/openssl/openssl/crypto/x509v3/v3_scts.c')
-rw-r--r--deps/openssl/openssl/crypto/x509v3/v3_scts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/openssl/openssl/crypto/x509v3/v3_scts.c b/deps/openssl/openssl/crypto/x509v3/v3_scts.c
index 0b7c68180e..87a6ae1da9 100644
--- a/deps/openssl/openssl/crypto/x509v3/v3_scts.c
+++ b/deps/openssl/openssl/crypto/x509v3/v3_scts.c
@@ -156,7 +156,7 @@ static void timestamp_print(BIO *out, SCT_TIMESTAMP timestamp)
gen = ASN1_GENERALIZEDTIME_new();
ASN1_GENERALIZEDTIME_adj(gen, (time_t)0,
(int)(timestamp / 86400000),
- (timestamp % 86400000) / 1000);
+ (int)(timestamp % 86400000) / 1000);
/*
* Note GeneralizedTime from ASN1_GENERALIZETIME_adj is always 15
* characters long with a final Z. Update it with fractional seconds.