From 20baf4f5b6d1c89a8f2483f99180df94be8cf55b Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sun, 3 Jan 2010 23:38:37 +0100 Subject: Part of kex.c is SSH-1 specific --- libssh/kex.c | 3 +++ 1 file changed, 3 insertions(+) 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: */ -- cgit