summaryrefslogtreecommitdiffstats
path: root/src/legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/legacy.c')
-rw-r--r--src/legacy.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/legacy.c b/src/legacy.c
index ac98478..f99551a 100644
--- a/src/legacy.c
+++ b/src/legacy.c
@@ -37,7 +37,6 @@
#include "libssh/pki_priv.h"
#include <libssh/misc.h>
#include <libssh/keys.h>
-#include <libssh/keyfiles.h>
/* AUTH FUNCTIONS */
int ssh_auth_list(ssh_session session) {
@@ -390,11 +389,6 @@ ssh_private_key privatekey_from_file(ssh_session session,
return privkey;
}
-ssh_private_key _privatekey_from_file(void *session, const char *filename,
- int type) {
- return privatekey_from_file(session, filename, type, NULL);
-}
-
enum ssh_keytypes_e ssh_privatekey_type(ssh_private_key privatekey){
if (privatekey==NULL)
return SSH_KEYTYPE_UNKNOWN;