summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-04-20 18:53:38 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-04-20 18:53:38 +0000
commit9115ed2d937265446ccdebb27ee082d3f86b4f0b (patch)
tree9f33bf4b018538c937f0a589c78ff250c93d1fa4
parent65746065959f9cf6f7029623c363f72aa2ca1b2c (diff)
Restore beck's rev 1.21: snprintf() was reviewed
-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 9fa23ae9160..e31940da45e 100644
--- a/lib/libcrypto/objects/obj_dat.c
+++ b/lib/libcrypto/objects/obj_dat.c
@@ -591,7 +591,7 @@ OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name)
n += i;
free(bndec);
} else {
- snprintf(tbuf, sizeof tbuf, ".%lu", l);
+ (void) snprintf(tbuf, sizeof tbuf, ".%lu", l);
i = strlen(tbuf);
if (buf && (buf_len > 0)) {
strlcpy(buf, tbuf, buf_len);