summaryrefslogtreecommitdiffstats
path: root/libssh/kex.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/kex.c')
-rw-r--r--libssh/kex.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libssh/kex.c b/libssh/kex.c
index eb85bd8..176ef5b 100644
--- a/libssh/kex.c
+++ b/libssh/kex.c
@@ -447,6 +447,8 @@ int verify_existing_algo(int algo, const char *name){
return 0;
}
+#ifdef WITH_SSH1
+
/* makes a STRING contating 3 strings : ssh-rsa1,e and n */
/* this is a public key in openssh's format */
static ssh_string make_rsa1_string(ssh_string e, ssh_string n){
@@ -793,4 +795,5 @@ error:
return rc;
}
+#endif /* WITH_SSH1 */
/* vim: set ts=2 sw=2 et cindent: */