summaryrefslogtreecommitdiffstats
path: root/libssh/options.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-10-29 10:36:00 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2009-10-29 10:36:00 +0100
commit17f2645a32e6524c36b2f83831080eda378c12bf (patch)
treec562984b687ad75baa658761811ab76bcb922910 /libssh/options.c
parent9f034aca9c848106d4fc03da9ca6ec140565413f (diff)
downloadlibssh-17f2645a32e6524c36b2f83831080eda378c12bf.tar.gz
libssh-17f2645a32e6524c36b2f83831080eda378c12bf.tar.xz
libssh-17f2645a32e6524c36b2f83831080eda378c12bf.zip
Fix server kex again
Diffstat (limited to 'libssh/options.c')
-rw-r--r--libssh/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/options.c b/libssh/options.c
index a46740c..a6b524a 100644
--- a/libssh/options.c
+++ b/libssh/options.c
@@ -140,7 +140,7 @@ static char *get_username_from_uid(ssh_session session, uid_t uid){
}
#endif
-static int ssh_options_set_algo(ssh_session session, int algo,
+int ssh_options_set_algo(ssh_session session, int algo,
const char *list) {
if (!verify_existing_algo(algo, list)) {
ssh_set_error(session, SSH_REQUEST_DENIED,