summaryrefslogtreecommitdiff
path: root/lib/libcrypto/ts
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-04-20 19:55:10 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-04-20 19:55:10 +0000
commit26f1fd6d632c034c737b0fa242931154f006c3eb (patch)
tree64b1e1ef516a06bbf93bdca5621ea3946ec7c535 /lib/libcrypto/ts
parent70b551c7d9bcdb38b2e4a2edd651cb2d95f4faf7 (diff)
Restore tedu's rev 1.4: snprintf() was reviewed.
Diffstat (limited to 'lib/libcrypto/ts')
-rw-r--r--lib/libcrypto/ts/ts_rsp_sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/ts/ts_rsp_sign.c b/lib/libcrypto/ts/ts_rsp_sign.c
index 58d58648230..17f81b4a35d 100644
--- a/lib/libcrypto/ts/ts_rsp_sign.c
+++ b/lib/libcrypto/ts/ts_rsp_sign.c
@@ -983,7 +983,7 @@ TS_RESP_set_genTime_with_precision(ASN1_GENERALIZEDTIME *asn1_time,
if the elements correspond to 0, they MUST be wholly
omitted, and the decimal point element also MUST be
omitted." */
- snprintf(usecstr, sizeof(usecstr), ".%06ld", usec);
+ (void) snprintf(usecstr, sizeof(usecstr), ".%06ld", usec);
/* truncate and trim trailing 0 */
usecstr[precision + 1] = '\0';
p = usecstr + strlen(usecstr) - 1;