diff options
author | 2014-04-20 19:55:09 +0000 | |
---|---|---|
committer | 2014-04-20 19:55:09 +0000 | |
commit | d86eb360f61d7178df4279147a8f4c11a99c307a (patch) | |
tree | c2fc428a712d7cfd0216e1acf46555c5ff58ca09 /lib/libssl/src | |
parent | Restore beck's rev 1.7: snprintf() was reviewed. (diff) | |
download | wireguard-openbsd-d86eb360f61d7178df4279147a8f4c11a99c307a.tar.xz wireguard-openbsd-d86eb360f61d7178df4279147a8f4c11a99c307a.zip |
Restore tedu's rev 1.4: snprintf() was reviewed.
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/ts/ts_rsp_sign.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/ts/ts_rsp_sign.c b/lib/libssl/src/crypto/ts/ts_rsp_sign.c index 58d58648230..17f81b4a35d 100644 --- a/lib/libssl/src/crypto/ts/ts_rsp_sign.c +++ b/lib/libssl/src/crypto/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; |