diff options
author | 2014-04-15 16:21:04 +0000 | |
---|---|---|
committer | 2014-04-15 16:21:04 +0000 | |
commit | ea4b21aae2adb138912fdc26d056cefee2267ce3 (patch) | |
tree | dd0dff07c2755d15c1e31f5ce688ff7f9f33225b /lib/libcrypto/objects/obj_dat.c | |
parent | add -s (two-byte signed decimal display) to od(1), as mandated by POSIX; (diff) | |
download | wireguard-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.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 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)) { |