1
0
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:
Andreas Schneider
2011-08-16 00:55:47 +02:00
parent 04ce7967b8
commit 614ad97c12
2 changed files with 5 additions and 18 deletions

View File

@@ -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
****************************************************************************/