aboutsummaryrefslogtreecommitdiffstats
path: root/test/uitest.c
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2017-08-15 23:39:03 +0200
committerRich Salz <rsalz@openssl.org>2017-08-16 10:36:34 -0400
commit31a80694d425bf7f3a0ed5cc2ee775d9418a5490 (patch)
tree0b8d8675d3b84abc2b3cb4e28abf8e057085cce2 /test/uitest.c
parent30bb02597df9a79b46bae2ddc9885a35286ed205 (diff)
downloadopenssl-31a80694d425bf7f3a0ed5cc2ee775d9418a5490.tar.gz
[Win] Fix some test method signatures ...
to halves MSVC warnings. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4172)
Diffstat (limited to 'test/uitest.c')
-rw-r--r--test/uitest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/uitest.c b/test/uitest.c
index d2828f83b7..03db008c71 100644
--- a/test/uitest.c
+++ b/test/uitest.c
@@ -30,7 +30,7 @@ static int test_pem_password_cb(char *buf, int size, int rwflag, void *userdata)
* Test wrapping old style PEM password callback in a UI method through the
* use of UI utility functions
*/
-static int test_old()
+static int test_old(void)
{
UI_METHOD *ui_method = NULL;
UI *ui = NULL;
@@ -71,7 +71,7 @@ static int test_old()
}
/* Test of UI. This uses the UI method defined in apps/apps.c */
-static int test_new_ui()
+static int test_new_ui(void)
{
PW_CB_DATA cb_data = {
"password",