diff options
author | 2014-04-20 18:53:37 +0000 | |
---|---|---|
committer | 2014-04-20 18:53:37 +0000 | |
commit | 12697c6fe296ba3541b4d2cd315367da35fe9791 (patch) | |
tree | ddea2dfa8479cc14b440e9fba8756f1db9cc9abb /lib/libcrypto/objects/obj_dat.c | |
parent | Use only one style for "return foo;" (diff) | |
download | wireguard-openbsd-12697c6fe296ba3541b4d2cd315367da35fe9791.tar.xz wireguard-openbsd-12697c6fe296ba3541b4d2cd315367da35fe9791.zip |
Restore beck's rev 1.21: snprintf() was reviewed
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 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); |