mirror of
https://github.com/m1ngsama/TNT.git
synced 2026-02-08 00:54:03 +00:00
fix: suppress unused parameter warning in auth_password callback
This commit is contained in:
parent
d1623f64d4
commit
d51f2f67ee
1 changed files with 1 additions and 0 deletions
|
|
@ -908,6 +908,7 @@ cleanup:
|
|||
/* Password authentication callback */
|
||||
static int auth_password(ssh_session session, const char *user,
|
||||
const char *password, void *userdata) {
|
||||
(void)user; /* Unused - we don't validate usernames */
|
||||
session_context_t *ctx = (session_context_t *)userdata;
|
||||
|
||||
ctx->auth_attempts++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue