mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
keyfiles: Remove keyfiles.h.
This commit is contained in:
@@ -1,30 +0,0 @@
|
|||||||
/*
|
|
||||||
* This file is part of the SSH Library
|
|
||||||
*
|
|
||||||
* Copyright (c) 2009 by Aris Adamantiadis
|
|
||||||
*
|
|
||||||
* The SSH Library is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Lesser General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 2.1 of the License, or (at your
|
|
||||||
* option) any later version.
|
|
||||||
*
|
|
||||||
* The SSH Library is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
||||||
* License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public License
|
|
||||||
* along with the SSH Library; see the file COPYING. If not, write to
|
|
||||||
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
|
||||||
* MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef KEYFILES_H_
|
|
||||||
#define KEYFILES_H_
|
|
||||||
|
|
||||||
/* in keyfiles.c */
|
|
||||||
|
|
||||||
ssh_private_key _privatekey_from_file(void *session, const char *filename,
|
|
||||||
int type);
|
|
||||||
|
|
||||||
#endif /* KEYFILES_H_ */
|
|
@@ -34,7 +34,6 @@
|
|||||||
#include "libssh/ssh2.h"
|
#include "libssh/ssh2.h"
|
||||||
#include "libssh/buffer.h"
|
#include "libssh/buffer.h"
|
||||||
#include "libssh/agent.h"
|
#include "libssh/agent.h"
|
||||||
#include "libssh/keyfiles.h"
|
|
||||||
#include "libssh/misc.h"
|
#include "libssh/misc.h"
|
||||||
#include "libssh/packet.h"
|
#include "libssh/packet.h"
|
||||||
#include "libssh/session.h"
|
#include "libssh/session.h"
|
||||||
|
@@ -37,7 +37,6 @@
|
|||||||
#include "libssh/pki_priv.h"
|
#include "libssh/pki_priv.h"
|
||||||
#include <libssh/misc.h>
|
#include <libssh/misc.h>
|
||||||
#include <libssh/keys.h>
|
#include <libssh/keys.h>
|
||||||
#include <libssh/keyfiles.h>
|
|
||||||
|
|
||||||
/* AUTH FUNCTIONS */
|
/* AUTH FUNCTIONS */
|
||||||
int ssh_auth_list(ssh_session session) {
|
int ssh_auth_list(ssh_session session) {
|
||||||
@@ -390,11 +389,6 @@ ssh_private_key privatekey_from_file(ssh_session session,
|
|||||||
return privkey;
|
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){
|
enum ssh_keytypes_e ssh_privatekey_type(ssh_private_key privatekey){
|
||||||
if (privatekey==NULL)
|
if (privatekey==NULL)
|
||||||
return SSH_KEYTYPE_UNKNOWN;
|
return SSH_KEYTYPE_UNKNOWN;
|
||||||
|
@@ -50,7 +50,6 @@
|
|||||||
|
|
||||||
#include "libssh/priv.h"
|
#include "libssh/priv.h"
|
||||||
#include "libssh/buffer.h"
|
#include "libssh/buffer.h"
|
||||||
#include "libssh/keyfiles.h"
|
|
||||||
#include "libssh/session.h"
|
#include "libssh/session.h"
|
||||||
#include "libssh/wrapper.h"
|
#include "libssh/wrapper.h"
|
||||||
#include "libssh/misc.h"
|
#include "libssh/misc.h"
|
||||||
|
@@ -48,7 +48,6 @@
|
|||||||
#include "libssh/libssh.h"
|
#include "libssh/libssh.h"
|
||||||
#include "libssh/server.h"
|
#include "libssh/server.h"
|
||||||
#include "libssh/ssh2.h"
|
#include "libssh/ssh2.h"
|
||||||
#include "libssh/keyfiles.h"
|
|
||||||
#include "libssh/buffer.h"
|
#include "libssh/buffer.h"
|
||||||
#include "libssh/packet.h"
|
#include "libssh/packet.h"
|
||||||
#include "libssh/socket.h"
|
#include "libssh/socket.h"
|
||||||
|
Reference in New Issue
Block a user