aboutsummaryrefslogtreecommitdiff
path: root/libssh/auth.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-26 14:05:58 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-26 14:05:58 +0200
commitcd7f6bea573e345ac01e0c5226a3fa27ca83e2a8 (patch)
treef5760ca5f8bc63e6da0e93ae0b3fe53bc64085f0 /libssh/auth.c
parentc3dc60103f03142873bdb78d112adbe423c94c2e (diff)
downloadlibssh-cd7f6bea573e345ac01e0c5226a3fa27ca83e2a8.tar.gz
libssh-cd7f6bea573e345ac01e0c5226a3fa27ca83e2a8.tar.xz
libssh-cd7f6bea573e345ac01e0c5226a3fa27ca83e2a8.zip
more priv.h splitting
Diffstat (limited to 'libssh/auth.c')
-rw-r--r--libssh/auth.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libssh/auth.c b/libssh/auth.c
index 3b64e0f6..d7fd3fa1 100644
--- a/libssh/auth.c
+++ b/libssh/auth.c
@@ -1018,6 +1018,15 @@ int ssh_userauth_autopubkey(ssh_session session, const char *passphrase) {
return SSH_AUTH_DENIED;
}
+struct ssh_kbdint_struct {
+ uint32_t nprompts;
+ char *name;
+ char *instruction;
+ char **prompts;
+ unsigned char *echo; /* bool array */
+ char **answers;
+};
+
static ssh_kbdint kbdint_new(void) {
ssh_kbdint kbd;