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:
@@ -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: */
|
||||||
|
|||||||
Reference in New Issue
Block a user