summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-04-20 19:56:26 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-04-20 19:56:26 +0000
commit24b3528a2d09f6b35a949a8de534f7d3344df528 (patch)
tree1f7ea4f5d52cbcf301116113466028872206a456
parent26f1fd6d632c034c737b0fa242931154f006c3eb (diff)
Restore beck's rev 1.8: snprintf() was reviewed.
-rw-r--r--lib/libcrypto/ui/ui_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/ui/ui_lib.c b/lib/libcrypto/ui/ui_lib.c
index 4138c86d55c..58e4c5d7221 100644
--- a/lib/libcrypto/ui/ui_lib.c
+++ b/lib/libcrypto/ui/ui_lib.c
@@ -844,9 +844,9 @@ UI_set_result(UI *ui, UI_STRING *uis, const char *result)
char number1[DECIMAL_SIZE(uis->_.string_data.result_minsize) + 1];
char number2[DECIMAL_SIZE(uis->_.string_data.result_maxsize) + 1];
- snprintf(number1, sizeof(number1), "%d",
+ (void) snprintf(number1, sizeof(number1), "%d",
uis->_.string_data.result_minsize);
- snprintf(number2, sizeof(number2), "%d",
+ (void) snprintf(number2, sizeof(number2), "%d",
uis->_.string_data.result_maxsize);
if (l < uis->_.string_data.result_minsize) {