summaryrefslogtreecommitdiffstats
path: root/tdeioslave/sftp/tdeio_sftp.h
diff options
context:
space:
mode:
authorAlexander Golubev <[email protected]>2024-01-21 16:50:16 +0300
committerTDE Gitea <[email protected]>2024-03-04 11:04:11 +0000
commitd316ff14bdcc6c7e402276cba2a15c1ac8bb5278 (patch)
tree9ea11622d5ef047f7c7dbcb2f1660ba477a80af2 /tdeioslave/sftp/tdeio_sftp.h
parenta19610bb735faf89fcd27c6885bf81e53c9b2d7a (diff)
downloadtdebase-d316ff14bdcc6c7e402276cba2a15c1ac8bb5278.tar.gz
tdebase-d316ff14bdcc6c7e402276cba2a15c1ac8bb5278.zip
tdeioslave/sftp: use realmValue to distinguish different prompts
This will help kpasswdserver not to confuse different user's answers to different questions. Also avoid passing/returning TDE::AuthInfo for kb-interactive auth as it isn't really necessary when we don't manually caching passwords anymore. Signed-off-by: Alexander Golubev <[email protected]>
Diffstat (limited to 'tdeioslave/sftp/tdeio_sftp.h')
-rw-r--r--tdeioslave/sftp/tdeio_sftp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeioslave/sftp/tdeio_sftp.h b/tdeioslave/sftp/tdeio_sftp.h
index f73b37015..065ef7cda 100644
--- a/tdeioslave/sftp/tdeio_sftp.h
+++ b/tdeioslave/sftp/tdeio_sftp.h
@@ -154,7 +154,7 @@ private: // Private variables
} mPubKeyAuthData;
private: // private methods
- int authenticateKeyboardInteractive(TDEIO::AuthInfo &info);
+ int authenticateKeyboardInteractive();
/** A small helper function to construct auth info skeleton for the protocol */
TDEIO::AuthInfo authInfo();