aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2017-08-24 17:43:01 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-08-24 18:01:41 +0200
commit6803c2f86d5a8f419d854dbffb78c10fda611ed2 (patch)
tree637bb1b4f8fc6943a4725d114579c4a49b2375e3 /include/libssh
parent316ee071cf4bd06a8cdeeaac417e137be0a3af0e (diff)
downloadlibssh-6803c2f86d5a8f419d854dbffb78c10fda611ed2.tar.gz
libssh-6803c2f86d5a8f419d854dbffb78c10fda611ed2.tar.xz
libssh-6803c2f86d5a8f419d854dbffb78c10fda611ed2.zip
kex: Use ssh_kex_types_e in ssh_verify_existing_algo()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/kex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/kex.h b/include/libssh/kex.h
index 3b70ec72..e38fafff 100644
--- a/include/libssh/kex.h
+++ b/include/libssh/kex.h
@@ -40,7 +40,7 @@ int ssh_send_kex(ssh_session session, int server_kex);
void ssh_list_kex(struct ssh_kex_struct *kex);
int ssh_set_client_kex(ssh_session session);
int ssh_kex_select_methods(ssh_session session);
-int ssh_verify_existing_algo(int algo, const char *name);
+int ssh_verify_existing_algo(enum ssh_kex_types_e algo, const char *name);
char *ssh_keep_known_algos(enum ssh_kex_types_e algo, const char *list);
char **ssh_space_tokenize(const char *chain);
int ssh_get_kex1(ssh_session session);