summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/objects/obj_dat.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2014-04-15 16:21:04 +0000
committerbeck <beck@openbsd.org>2014-04-15 16:21:04 +0000
commitea4b21aae2adb138912fdc26d056cefee2267ce3 (patch)
treedd0dff07c2755d15c1e31f5ce688ff7f9f33225b /lib/libcrypto/objects/obj_dat.c
parentadd -s (two-byte signed decimal display) to od(1), as mandated by POSIX; (diff)
downloadwireguard-openbsd-ea4b21aae2adb138912fdc26d056cefee2267ce3.tar.xz
wireguard-openbsd-ea4b21aae2adb138912fdc26d056cefee2267ce3.zip
Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversions
where the return value is ignored changing to (void) snprintf. ok deraadt@
Diffstat (limited to 'lib/libcrypto/objects/obj_dat.c')
-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 99646c300c1..a597284c808 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
{
- BIO_snprintf(tbuf,sizeof tbuf,".%lu",l);
+ (void) snprintf(tbuf,sizeof tbuf,".%lu",l);
i=strlen(tbuf);
if (buf && (buf_len > 0))
{