aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-01-03 23:38:37 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2010-01-03 23:38:37 +0100
commit20baf4f5b6d1c89a8f2483f99180df94be8cf55b (patch)
tree63569c0036bdbca9dc5396928ed5a6aba6c62f81 /libssh
parent335a0fe768fcf8840e596f026519161e3a54654d (diff)
downloadlibssh-20baf4f5b6d1c89a8f2483f99180df94be8cf55b.tar.gz
libssh-20baf4f5b6d1c89a8f2483f99180df94be8cf55b.tar.xz
libssh-20baf4f5b6d1c89a8f2483f99180df94be8cf55b.zip
Part of kex.c is SSH-1 specific
Diffstat (limited to 'libssh')
-rw-r--r--libssh/kex.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libssh/kex.c b/libssh/kex.c
index eb85bd89..176ef5bd 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: */