summaryrefslogtreecommitdiff
path: root/systest
diff options
context:
space:
mode:
authorWez Furlong <wez@wezfurlong.org>2019-07-24 08:04:51 -0700
committerWez Furlong <wez@wezfurlong.org>2019-07-31 15:26:38 -0700
commitf29ca5b717858d365f0477d824d2069ce727a702 (patch)
tree2b9d1301603b0ae38d5bb7650e42454b50fd14b3 /systest
parent3aa8096bc4e1c6c762f8553c516b5ce099ba5f71 (diff)
downloadssh2-rs-f29ca5b717858d365f0477d824d2069ce727a702.zip
Support keyboard-interactive authentication
Refs: https://github.com/alexcrichton/ssh2-rs/issues/65
Diffstat (limited to 'systest')
-rw-r--r--systest/build.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/systest/build.rs b/systest/build.rs
index 7d5c281..2b3e66a 100644
--- a/systest/build.rs
+++ b/systest/build.rs
@@ -24,7 +24,11 @@ fn main() {
s.to_string()
}
})
- .skip_type(|t| t.ends_with("FUNC"))
- .skip_fn(|f| f == "libssh2_userauth_password_ex" || f == "libssh2_session_init_ex");
+ .skip_type(|t| t.ends_with("FUNC") || t.contains("KBDINT"))
+ .skip_fn(|f| {
+ f == "libssh2_userauth_password_ex"
+ || f == "libssh2_session_init_ex"
+ || f == "libssh2_userauth_keyboard_interactive_ex"
+ });
cfg.generate("../libssh2-sys/lib.rs", "all.rs");
}