1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

pki: Move _privatekey_from_file to legacy.c.

This commit is contained in:
Andreas Schneider
2011-08-07 17:48:31 +02:00
parent 36ee2d3332
commit 7c302d376c
2 changed files with 6 additions and 366 deletions

View File

@@ -31,6 +31,7 @@
#include <libssh/buffer.h>
#include <libssh/pki.h>
#include <libssh/keys.h>
#include <libssh/keyfiles.h>
void buffer_free(ssh_buffer buffer){
ssh_buffer_free(buffer);
@@ -291,6 +292,11 @@ 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);
}
/****************************************************************************
* SERVER SUPPORT
****************************************************************************/