summaryrefslogtreecommitdiff
path: root/lib/libcrypto/objects
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-04-19 11:43:08 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-04-19 11:43:08 +0000
commitb121c76a6e9d1610f48fa1d06cd592e1feb2e4ed (patch)
treedc8ae33e0086a40a4b241a7d2f4cd52438465f43 /lib/libcrypto/objects
parent56feac2c06a8a41409bd1a9e1331791ff28181b2 (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.c2
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))
{