summaryrefslogtreecommitdiffhomepage
path: root/cli-authpasswd.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli-authpasswd.c')
-rw-r--r--cli-authpasswd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cli-authpasswd.c b/cli-authpasswd.c
index a9f34bd..ec290e0 100644
--- a/cli-authpasswd.c
+++ b/cli-authpasswd.c
@@ -113,7 +113,7 @@ static char *gui_getpass(const char *prompt) {
}
#endif /* ENABLE_CLI_ASKPASS_HELPER */
-int cli_auth_password() {
+void cli_auth_password() {
char* password = NULL;
@@ -149,7 +149,5 @@ int cli_auth_password() {
m_burn(password, strlen(password));
TRACE(("leave cli_auth_password"))
- return 1; /* Password auth can always be tried */
-
}
#endif /* ENABLE_CLI_PASSWORD_AUTH */