diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-04-19 11:43:08 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-04-19 11:43:08 +0000 |
commit | b121c76a6e9d1610f48fa1d06cd592e1feb2e4ed (patch) | |
tree | dc8ae33e0086a40a4b241a7d2f4cd52438465f43 /lib/libcrypto/objects | |
parent | 56feac2c06a8a41409bd1a9e1331791ff28181b2 (diff) |
We'll interpret a (void) cast on snprintf() to mean it's been verified that
truncation is either desirable, not an issue, or is detected and handled later
ok deraadt@
Diffstat (limited to 'lib/libcrypto/objects')
-rw-r--r-- | lib/libcrypto/objects/obj_dat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/objects/obj_dat.c b/lib/libcrypto/objects/obj_dat.c index b3388b117d1..cc007f1206f 100644 --- a/lib/libcrypto/objects/obj_dat.c +++ b/lib/libcrypto/objects/obj_dat.c @@ -594,7 +594,7 @@ int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name) } else { - (void) snprintf(tbuf,sizeof tbuf,".%lu",l); + snprintf(tbuf,sizeof tbuf,".%lu",l); i=strlen(tbuf); if (buf && (buf_len > 0)) { |