mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
pki: Make ssh_type_from_name() a legacy function.
This commit is contained in:
@@ -342,6 +342,11 @@ ssh_string publickey_from_file(ssh_session session, const char *filename,
|
||||
const char *ssh_type_to_char(int type) {
|
||||
return ssh_key_type_to_char(type);
|
||||
}
|
||||
|
||||
int ssh_type_from_name(const char *name) {
|
||||
return ssh_key_type_from_name(name);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* SERVER SUPPORT
|
||||
****************************************************************************/
|
||||
|
Reference in New Issue
Block a user