From c6485458b37e3f0f5d1c69c0452e4551ac3b1824 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Thu, 8 Jan 2015 22:40:39 +0000 Subject: Import OpenSSL 1.0.1k. --- crypto/ts/ts_rsp_sign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/ts/ts_rsp_sign.c') diff --git a/crypto/ts/ts_rsp_sign.c b/crypto/ts/ts_rsp_sign.c index b0f023c9d2f8..2c0e94edda16 100644 --- a/crypto/ts/ts_rsp_sign.c +++ b/crypto/ts/ts_rsp_sign.c @@ -977,7 +977,7 @@ TS_RESP_set_genTime_with_precision(ASN1_GENERALIZEDTIME *asn1_time, if (precision > 0) { /* Add fraction of seconds (leave space for dot and null). */ - BIO_snprintf(p, 2 + precision, ".%ld", usec); + BIO_snprintf(p, 2 + precision, ".%06ld", usec); /* We cannot use the snprintf return value, because it might have been truncated. */ p += strlen(p); -- cgit v1.2.3