1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-02 01:17:52 +03:00

Part of kex.c is SSH-1 specific

This commit is contained in:
Aris Adamantiadis
2010-01-03 23:38:37 +01:00
parent 335a0fe768
commit 20baf4f5b6

View File

@@ -447,6 +447,8 @@ int verify_existing_algo(int algo, const char *name){
return 0; return 0;
} }
#ifdef WITH_SSH1
/* makes a STRING contating 3 strings : ssh-rsa1,e and n */ /* makes a STRING contating 3 strings : ssh-rsa1,e and n */
/* this is a public key in openssh's format */ /* this is a public key in openssh's format */
static ssh_string make_rsa1_string(ssh_string e, ssh_string n){ static ssh_string make_rsa1_string(ssh_string e, ssh_string n){
@@ -793,4 +795,5 @@ error:
return rc; return rc;
} }
#endif /* WITH_SSH1 */
/* vim: set ts=2 sw=2 et cindent: */ /* vim: set ts=2 sw=2 et cindent: */