aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-08-04 10:11:02 +0200
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-09-10 22:01:07 +0200
commitf84de16f397b06831ea5569a285518c035285f46 (patch)
treec734bd3e6313db5ba79deb89ec537ff276c9f3f5 /test
parent9a62ccbe8a73101d2cfcdf7902b6fe10da7602c9 (diff)
downloadopenssl-f84de16f397b06831ea5569a285518c035285f46.zip
openssl-f84de16f397b06831ea5569a285518c035285f46.tar.gz
openssl-f84de16f397b06831ea5569a285518c035285f46.tar.bz2
apps_ui.c: Improve error handling and return value of setup_ui_method()
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/12493)
Diffstat (limited to 'test')
-rw-r--r--test/uitest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/uitest.c b/test/uitest.c
index 289f32b..d45d57d 100644
--- a/test/uitest.c
+++ b/test/uitest.c
@@ -78,7 +78,7 @@ static int test_new_ui(void)
char pass[16];
int ok = 0;
- setup_ui_method();
+ (void)setup_ui_method();
if (TEST_int_gt(password_callback(pass, sizeof(pass), 0, &cb_data), 0)
&& TEST_str_eq(pass, cb_data.password))
ok = 1;