summaryrefslogtreecommitdiffstats
path: root/tdeioslave/sftp/tdeio_sftp.h
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-01-21 16:50:16 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-04 23:34:44 +0900
commitdbde9a19a0819ee775366002e5b57aeabf1123c7 (patch)
treec10b0e3962eb04506d5559db49f4765254c71907 /tdeioslave/sftp/tdeio_sftp.h
parentc950ace00f6c9dc13065a14d0c8b17534f39601f (diff)
downloadtdebase-dbde9a19a0819ee775366002e5b57aeabf1123c7.tar.gz
tdebase-dbde9a19a0819ee775366002e5b57aeabf1123c7.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 <fatzer2@gmail.com> (cherry picked from commit d316ff14bdcc6c7e402276cba2a15c1ac8bb5278)
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();